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