summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qdeclarativetextedit_p_p.h
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/qdeclarativetextedit_p_p.h
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/qdeclarativetextedit_p_p.h')
-rw-r--r--src/declarative/graphicsitems/qdeclarativetextedit_p_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativetextedit_p_p.h b/src/declarative/graphicsitems/qdeclarativetextedit_p_p.h
index 4092e65..45d342f 100644
--- a/src/declarative/graphicsitems/qdeclarativetextedit_p_p.h
+++ b/src/declarative/graphicsitems/qdeclarativetextedit_p_p.h
@@ -118,6 +118,7 @@ public:
QTextDocument *document;
QTextControl *control;
QDeclarativeTextEdit::WrapMode wrapMode;
+ int lineCount;
bool selectByMouse;
int yoff;
};