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