diff options
Diffstat (limited to 'src/printsupport/kernel/qprinterinfo.h')
-rw-r--r-- | src/printsupport/kernel/qprinterinfo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/printsupport/kernel/qprinterinfo.h b/src/printsupport/kernel/qprinterinfo.h index b831898632..0dc19c1da7 100644 --- a/src/printsupport/kernel/qprinterinfo.h +++ b/src/printsupport/kernel/qprinterinfo.h @@ -43,7 +43,7 @@ #define QPRINTERINFO_H #include <QtCore/QList> - +#include <QtCore/QPair> #include <QtPrintSupport/QPrinter> QT_BEGIN_NAMESPACE @@ -71,6 +71,7 @@ public: bool isDefault() const; QList<QPrinter::PaperSize> supportedPaperSizes() const; + QList<QPair<QString, QSizeF> > supportedSizesWithNames() const; static QList<QPrinterInfo> availablePrinters(); static QPrinterInfo defaultPrinter(); |