#include <QtGui/qinputdialog.h> #ifndef QINPUTDIALOG_H #ifndef QT_NO_INPUTDIALOG class QInputDialog: public QDialog{ /* Some contents are skipped to improve readability */ private: enum Type{ /* ... */ DoubleSpinBox = 2, /* ... */ }; /* ... */ }; #endif // QT_NO_INPUTDIALOG #endif // QINPUTDIALOG_H