summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qfontmetrics.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2011-05-03 22:51:17 +0200
committerLars Knoll <lars.knoll@nokia.com>2011-05-03 22:51:17 +0200
commit54c9b1a80c04a5ecc685dc29e27a27de81d8cc1b (patch)
treeaa2a0374e57a8fd82036485a77bacfcee208a532 /src/gui/text/qfontmetrics.h
parent181df199d31a8018cfcfc31b548909fe4b57ccbd (diff)
even less QT3_SUPPORT
the new libQtGui should now be free of any Qt3 related methods.
Diffstat (limited to 'src/gui/text/qfontmetrics.h')
-rw-r--r--src/gui/text/qfontmetrics.h9
1 files changed, 0 insertions, 9 deletions
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;