#include <QtGui/qspinbox.h> #ifndef QSPINBOX_H #ifndef QT_NO_SPINBOX class QDoubleSpinBox: public QAbstractSpinBox{ /* Some contents are skipped to improve readability */ public: virtual enum QValidator::State validate(class QString& input, int& pos) const /* ... */ }; #endif // QT_NO_SPINBOX #endif // QSPINBOX_H