diff options
author | Christopher Ham <christopher.ham@nokia.com> | 2011-01-14 05:05:35 (GMT) |
---|---|---|
committer | Christopher Ham <christopher.ham@nokia.com> | 2011-01-14 05:05:35 (GMT) |
commit | 82c0594ef35dbe9520da2f5e0900385c68f1cba5 (patch) | |
tree | 48ff2a3bcd9bfd51fc4ce6816acb533d7e7db6e9 /src/declarative/graphicsitems/qdeclarativetext.cpp | |
parent | 08bd83f5f1b738713e80bbfbd06468d27c5d3694 (diff) | |
download | Qt-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.cpp | 2 |
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. |