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