#include <QtGui/qfontmetrics.h> #ifndef QFONTMETRICS_H class QFontMetrics{ /* Some contents are skipped to improve readability */ public: QFontMetrics(class QFont const &, struct QPaintDevice* pd); /* ... */ }; #endif // QFONTMETRICS_H