diff options
author | Stephan Binner <stephan.binner@basyskom.com> | 2017-03-10 13:20:12 +0100 |
---|---|---|
committer | Stephan Binner <stephan.binner@basyskom.com> | 2017-03-22 14:35:46 +0000 |
commit | b1a7a7b250e3575579ad43979c5bc27283f3d5f2 (patch) | |
tree | 27f7572604d5d7cb918663c504a39775fa6433aa /src/printsupport/dialogs/qabstractprintdialog.h | |
parent | 901ed36f3649fc77e5dc4078c0f0e485732feb7a (diff) |
Add feature.dialog
Change-Id: I160d0f270d7f41671459358b9c180d71dd7786d6
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/printsupport/dialogs/qabstractprintdialog.h')
-rw-r--r-- | src/printsupport/dialogs/qabstractprintdialog.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/printsupport/dialogs/qabstractprintdialog.h b/src/printsupport/dialogs/qabstractprintdialog.h index 6c57a301a6..e6d34cdb5b 100644 --- a/src/printsupport/dialogs/qabstractprintdialog.h +++ b/src/printsupport/dialogs/qabstractprintdialog.h @@ -41,13 +41,14 @@ #define QABSTRACTPRINTDIALOG_H #include <QtPrintSupport/qtprintsupportglobal.h> + +#if QT_CONFIG(printdialog) + #include <QtWidgets/qdialog.h> QT_BEGIN_NAMESPACE -#ifndef QT_NO_PRINTER - class QAbstractPrintDialogPrivate; class QPrinter; @@ -81,7 +82,6 @@ public: Q_DECLARE_FLAGS(PrintDialogOptions, PrintDialogOption) Q_FLAG(PrintDialogOptions) -#ifndef QT_NO_PRINTDIALOG explicit QAbstractPrintDialog(QPrinter *printer, QWidget *parent = Q_NULLPTR); ~QAbstractPrintDialog(); @@ -114,13 +114,12 @@ protected: private: Q_DISABLE_COPY(QAbstractPrintDialog) -#endif // QT_NO_PRINTDIALOG }; Q_DECLARE_OPERATORS_FOR_FLAGS(QAbstractPrintDialog::PrintDialogOptions) -#endif // QT_NO_PRINTER - QT_END_NAMESPACE +#endif // QT_NO_PRINTDIALOG + #endif // QABSTRACTPRINTDIALOG_H |