#include <QtGui/qspinbox.h> #ifndef QSPINBOX_H #ifndef QT_NO_SPINBOX class QSpinBox: public QAbstractSpinBox{ /* Some contents are skipped to improve readability */ public: void setSingleStep(int val); /* ... */ }; #endif // QT_NO_SPINBOX #endif // QSPINBOX_H