summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qdeclarativetext.cpp
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-04-22 06:19:40 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-04-22 06:19:40 (GMT)
commitaf3c75a63e9b7dd9725443a8e23114f825c6d12b (patch)
treeb178c128cb07d3f55bf0aba0656a45b1888d20db /src/declarative/graphicsitems/qdeclarativetext.cpp
parente9da512e321c6ea7795a4abc0b9d24bf4d3d2527 (diff)
downloadQt-af3c75a63e9b7dd9725443a8e23114f825c6d12b.zip
Qt-af3c75a63e9b7dd9725443a8e23114f825c6d12b.tar.gz
Qt-af3c75a63e9b7dd9725443a8e23114f825c6d12b.tar.bz2
Remove the deprecated wrap property.
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativetext.cpp')
-rw-r--r--src/declarative/graphicsitems/qdeclarativetext.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativetext.cpp b/src/declarative/graphicsitems/qdeclarativetext.cpp
index a95c930..0b59503 100644
--- a/src/declarative/graphicsitems/qdeclarativetext.cpp
+++ b/src/declarative/graphicsitems/qdeclarativetext.cpp
@@ -525,18 +525,6 @@ void QDeclarativeText::setWrapMode(WrapMode mode)
emit wrapModeChanged();
}
-bool QDeclarativeText::wrap() const
-{
- Q_D(const QDeclarativeText);
- return d->wrapMode != NoWrap;
-}
-
-void QDeclarativeText::setWrap(bool w)
-{
- qmlInfo(this) << "\"wrap\" property is deprecated and will soon be removed. Use wrapMode";
- setWrapMode(w ? WordWrap : NoWrap);
-}
-
/*!
\qmlproperty enumeration Text::textFormat