#include <QtGui/qabstractprintdialog.h>
#ifndef QABSTRACTPRINTDIALOG_H
#ifndef QT_NO_PRINTDIALOG
class QAbstractPrintDialog: public QDialog{
   /* Some contents are skipped to improve readability */
   public: enum PrintRange{
      /* ... */
      PageRange = 2,
      /* ... */
   };
   /* ... */
};
#endif // QT_NO_PRINTDIALOG
#endif // QABSTRACTPRINTDIALOG_H