summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qdeclarativetext.cpp
diff options
context:
space:
mode:
authorChristopher Ham <christopher.ham@nokia.com>2011-01-14 05:05:35 (GMT)
committerChristopher Ham <christopher.ham@nokia.com>2011-01-14 05:05:35 (GMT)
commit82c0594ef35dbe9520da2f5e0900385c68f1cba5 (patch)
tree48ff2a3bcd9bfd51fc4ce6816acb533d7e7db6e9 /src/declarative/graphicsitems/qdeclarativetext.cpp
parent08bd83f5f1b738713e80bbfbd06468d27c5d3694 (diff)
downloadQt-82c0594ef35dbe9520da2f5e0900385c68f1cba5.zip
Qt-82c0594ef35dbe9520da2f5e0900385c68f1cba5.tar.gz
Qt-82c0594ef35dbe9520da2f5e0900385c68f1cba5.tar.bz2
Add lineCount property to QDeclarativeTextEdit
The lineCount property should return the number of lines contained in textEdit. Also corrected minor documentation in Text Task-number: QTBUG-12305 Reviewed-by: Michael Brasser
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativetext.cpp')
-rw-r--r--src/declarative/graphicsitems/qdeclarativetext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativetext.cpp b/src/declarative/graphicsitems/qdeclarativetext.cpp
index d61342e..3911d65 100644
--- a/src/declarative/graphicsitems/qdeclarativetext.cpp
+++ b/src/declarative/graphicsitems/qdeclarativetext.cpp
@@ -1073,7 +1073,7 @@ int QDeclarativeText::lineCount() const
/*!
\qmlproperty bool Text::truncated
- Returns if the text has been truncated due to \l maximumLineCount
+ Returns true if the text has been truncated due to \l maximumLineCount
or \l elide.
This property is not supported for rich text.