#include <QtGui/qfontinfo.h> #ifndef QFONTINFO_H class QFontInfo{ /* Some contents are skipped to improve readability */ public: enum QFont::StyleHint styleHint() const /* ... */ }; #endif // QFONTINFO_H