diff options
author | Pekka Vuorela <pekka.ta.vuorela@nokia.com> | 2011-11-07 11:52:56 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-10 13:07:20 +0100 |
commit | 1dbfbf4c66187e7522888c19d78024cfceaea570 (patch) | |
tree | 84eb001b1078eb29cc7589115ce87b278ca365ae /src/widgets/widgets/qwidgettextcontrol_p.h | |
parent | 77082cd7c91905aaffcf341ab55adb07839aa33e (diff) |
Implement partial tentativeCommit support in QTextEdit
Available on plain text for now, html support still pending.
Change-Id: I0818b97874e80c8c1b33a9127aa7bb3330a8761d
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/widgets/widgets/qwidgettextcontrol_p.h')
-rw-r--r-- | src/widgets/widgets/qwidgettextcontrol_p.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/widgets/widgets/qwidgettextcontrol_p.h b/src/widgets/widgets/qwidgettextcontrol_p.h index f1ac09d459..1550959ebe 100644 --- a/src/widgets/widgets/qwidgettextcontrol_p.h +++ b/src/widgets/widgets/qwidgettextcontrol_p.h @@ -114,11 +114,9 @@ public: bool find(const QString &exp, QTextDocument::FindFlags options = 0); - inline QString toPlainText() const - { return document()->toPlainText(); } + QString toPlainText() const; #ifndef QT_NO_TEXTHTMLPARSER - inline QString toHtml() const - { return document()->toHtml(); } + QString toHtml() const; #endif virtual void ensureCursorVisible(); |