summaryrefslogtreecommitdiffstats
path: root/src/printsupport/kernel/qplatformprintersupport.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/printsupport/kernel/qplatformprintersupport.h')
-rw-r--r--src/printsupport/kernel/qplatformprintersupport.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/printsupport/kernel/qplatformprintersupport.h b/src/printsupport/kernel/qplatformprintersupport.h
index 910eafacb6..074405f0cd 100644
--- a/src/printsupport/kernel/qplatformprintersupport.h
+++ b/src/printsupport/kernel/qplatformprintersupport.h
@@ -79,8 +79,10 @@ public:
static QSizeF convertPaperSizeToQSizeF(QPrinter::PaperSize paperSize);
protected:
- static void setPrinterInfoDefault(QPrinterInfo *p, bool isDefault);
- static bool printerInfoIsDefault(const QPrinterInfo &p);
+ static int printerIndex(const QPrinterInfo &printer);
+ static QPrinterInfo createPrinterInfo(const QString &name, const QString &description,
+ const QString &location, const QString &makeAndModel,
+ bool isDefault, int index);
};
#endif // QT_NO_PRINTER