#include <QtGui/qabstractspinbox.h> #ifndef QABSTRACTSPINBOX_H #ifndef QT_NO_SPINBOX class QAbstractSpinBox: public QWidget{ /* Some contents are skipped to improve readability */ public: enum StepEnabledFlag{ /* ... */ StepUpEnabled = 1, /* ... */ }; /* ... */ }; #endif // QT_NO_SPINBOX #endif // QABSTRACTSPINBOX_H