#include <QtGui/qfont.h> #ifndef QFONT_H class QFont{ /* Some contents are skipped to improve readability */ public: void setStyle(enum QFont::Style style); /* ... */ }; #endif // QFONT_H