#include <QtGui/qabstractspinbox.h> #ifndef QABSTRACTSPINBOX_H #ifndef QT_NO_SPINBOX class QAbstractSpinBox: public QWidget{ /* Some contents are skipped to improve readability */ public: virtual void stepBy(int steps); /* ... */ }; #endif // QT_NO_SPINBOX #endif // QABSTRACTSPINBOX_H