#include <QtGui/qfont.h> #ifndef QFONT_H class QFont{ /* Some contents are skipped to improve readability */ public: enum Style{ StyleNormal = 0, StyleItalic = 1, StyleOblique = 2, }; /* ... */ }; #endif // QFONT_H