#include <QtGui/qcombobox.h> #ifndef QCOMBOBOX_H #ifndef QT_NO_COMBOBOX class QComboBox: public QWidget{ /* Some contents are skipped to improve readability */ #ifndef QT_NO_VALIDATOR public: void setValidator(class QValidator const * v); #endif /* ... */ }; #endif // QT_NO_COMBOBOX #endif // QCOMBOBOX_H