#include <QtGui/qpagesetupdialog.h> #ifndef QPAGESETUPDIALOG_H #ifndef QT_NO_PRINTDIALOG class QPageSetupDialog: public QAbstractPageSetupDialog{ /* Some contents are skipped to improve readability */ public: virtual int exec(); /* ... */ }; #endif // QT_NO_PRINTDIALOG #endif // QPAGESETUPDIALOG_H