#include <QtGui/qstyle.h> #ifndef QSTYLE_H class QStyle: public QObject{ /* Some contents are skipped to improve readability */ public: virtual class QRect itemTextRect(struct QFontMetrics const & fm, class QRect const & r, int flags, bool enabled, class QString const & text) const /* ... */ }; #endif // QSTYLE_H