#include <QtGui/qfontmetrics.h> #ifndef QFONTMETRICS_H class QFontMetricsF{ /* Some contents are skipped to improve readability */ public: class QRectF boundingRect(class QRectF const & r, int flags, class QString const & string, int tabstops = 0, int* tabarray = 0) const /* ... */ }; #endif // QFONTMETRICS_H