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