#include <QtGui/qfontmetrics.h> #ifndef QFONTMETRICS_H class QFontMetrics{ /* Some contents are skipped to improve readability */ public: inline bool operator !=(class QFontMetrics const & other) const /* ... */ }; #endif // QFONTMETRICS_H