summaryrefslogtreecommitdiff
path: root/src/printsupport/dialogs/qpagesetupdialog.h
diff options
context:
space:
mode:
authorStephan Binner <stephan.binner@basyskom.com>2017-05-29 17:35:58 +0200
committerStephan Binner <stephan.binner@basyskom.com>2017-05-30 17:21:26 +0000
commitdbeb748de30bcc0e0615d21c593b761408404950 (patch)
tree63868dc50be0138424f82598daa81ded596bd26f /src/printsupport/dialogs/qpagesetupdialog.h
parentf209215c0d96c8badcc14a3fc1cd8a6b0e56625c (diff)
downloadqtbase-dbeb748de30bcc0e0615d21c593b761408404950.tar.gz
Convert features.printdialog to QT_[REQUIRE_]CONFIG
Change-Id: Ifb016ae2a0986b436f788b34513c81ea91f3804a Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/printsupport/dialogs/qpagesetupdialog.h')
-rw-r--r--src/printsupport/dialogs/qpagesetupdialog.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/printsupport/dialogs/qpagesetupdialog.h b/src/printsupport/dialogs/qpagesetupdialog.h
index bc7462ebaa..3bd752a413 100644
--- a/src/printsupport/dialogs/qpagesetupdialog.h
+++ b/src/printsupport/dialogs/qpagesetupdialog.h
@@ -42,12 +42,11 @@
#include <QtPrintSupport/qtprintsupportglobal.h>
-#ifndef QT_NO_PRINTDIALOG
-
#include <QtWidgets/qdialog.h>
-QT_BEGIN_NAMESPACE
+QT_REQUIRE_CONFIG(printdialog);
+QT_BEGIN_NAMESPACE
class QPrinter;
class QPageSetupDialogPrivate;
@@ -77,6 +76,4 @@ public:
QT_END_NAMESPACE
-#endif // QT_NO_PRINTDIALOG
-
#endif // QPAGESETUPDIALOG_H