#include <QtGui/qfont.h> #ifndef QFONT_H class QFont{ /* Some contents are skipped to improve readability */ public: enum StyleHint{ /* ... */ Courier = 2, /* ... */ }; /* ... */ }; #endif // QFONT_H