#include <QtGui/qspinbox.h> #ifndef QSPINBOX_H #ifndef QT_NO_SPINBOX class QSpinBox: public QAbstractSpinBox{ /* Some contents are skipped to improve readability */ public: static struct QMetaObject const staticMetaObject; /* ... */ }; #endif // QT_NO_SPINBOX #endif // QSPINBOX_H