#include <QtGui/qabstractprintdialog.h> #ifndef QABSTRACTPRINTDIALOG_H #ifndef QT_NO_PRINTDIALOG class QAbstractPrintDialog: public QDialog{ /* Some contents are skipped to improve readability */ public: void setMinMax(int min, int max); /* ... */ }; #endif // QT_NO_PRINTDIALOG #endif // QABSTRACTPRINTDIALOG_H