#include <QtGui/qfontmetrics.h>
#ifndef QFONTMETRICS_H
class QFontMetricsF{
   /* Some contents are skipped to improve readability */
   public: qreal strikeOutPos() const
   /* ... */
};
#endif // QFONTMETRICS_H