#include <QtGui/qfontcombobox.h> #ifndef QFONTCOMBOBOX_H #ifndef QT_NO_FONTCOMBOBOX class QFontComboBox: public QComboBox{ /* Some contents are skipped to improve readability */ public: enum FontFilter{ /* ... */ AllFonts = 0, /* ... */ }; /* ... */ }; #endif // QT_NO_FONTCOMBOBOX #endif