From 54c9b1a80c04a5ecc685dc29e27a27de81d8cc1b Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Tue, 3 May 2011 22:51:17 +0200 Subject: even less QT3_SUPPORT the new libQtGui should now be free of any Qt3 related methods. --- src/gui/text/qfontmetrics.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/gui/text/qfontmetrics.h') diff --git a/src/gui/text/qfontmetrics.h b/src/gui/text/qfontmetrics.h index 5fe8676993..56e5a5c6bb 100644 --- a/src/gui/text/qfontmetrics.h +++ b/src/gui/text/qfontmetrics.h @@ -122,15 +122,6 @@ public: inline bool operator !=(const QFontMetrics &other) { return !operator==(other); } // 5.0 - remove me inline bool operator !=(const QFontMetrics &other) const { return !operator==(other); } -#ifdef QT3_SUPPORT - inline QRect boundingRect(const QString &text, int len) const - { return boundingRect(text.left(len)); } - inline QRect boundingRect(int x, int y, int w, int h, int flags, const QString& str, int len, - int tabstops=0, int *tabarray=0) const - { return boundingRect(QRect(x, y, w, h), flags, str.left(len), tabstops, tabarray); } - inline QSize size(int flags, const QString& str, int len, int tabstops=0, int *tabarray=0) const - { return size(flags, str.left(len), tabstops, tabarray); } -#endif private: #if defined(Q_WS_MAC) friend class QFontPrivate; -- cgit v1.2.3