#include <QtGui/qprogressdialog.h>
#ifndef QPROGRESSDIALOG_H
#ifndef QT_NO_PROGRESSDIALOG
class QProgressDialog: public QDialog{
   /* Some contents are skipped to improve readability */
   public: int maximum() const
   /* ... */
};
#endif // QT_NO_PROGRESSDIALOG
#endif // QPROGRESSDIALOG_H