#include <QtGui/qfont.h> #ifndef QFONT_H class QFont{ /* Some contents are skipped to improve readability */ public: void setStyleHint(enum QFont::StyleHint, enum QFont::StyleStrategy = QFont::PreferDefault); /* ... */ }; #endif // QFONT_H