#include <QtGui/qfont.h> #ifndef QFONT_H class QFont{ /* Some contents are skipped to improve readability */ public: enum Weight{ Light = 25, Normal = 50, DemiBold = 63, Bold = 75, Black = 87, }; /* ... */ }; #endif // QFONT_H