diff options
author | Morten Engvoldsen <morten.engvoldsen@nokia.com> | 2009-11-16 12:44:34 (GMT) |
---|---|---|
committer | Morten Engvoldsen <morten.engvoldsen@nokia.com> | 2009-11-16 12:44:34 (GMT) |
commit | 5a52d83e9464d31cae31fbc0482a68a183a44077 (patch) | |
tree | 71e5fe0124603287dfb20b03771a5e4d8cc3ddd9 | |
parent | d99137fe4bbef299a52c375717e6925457f34ac2 (diff) | |
download | Qt-5a52d83e9464d31cae31fbc0482a68a183a44077.zip Qt-5a52d83e9464d31cae31fbc0482a68a183a44077.tar.gz Qt-5a52d83e9464d31cae31fbc0482a68a183a44077.tar.bz2 |
Doc: Added short explanation to textEdit->toPlainText()
Explaining(nbsp) the exception in character conversion.
-rw-r--r-- | src/gui/widgets/qtextedit.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/widgets/qtextedit.cpp b/src/gui/widgets/qtextedit.cpp index 88502e3..fc847b0 100644 --- a/src/gui/widgets/qtextedit.cpp +++ b/src/gui/widgets/qtextedit.cpp @@ -530,7 +530,9 @@ void QTextEditPrivate::_q_ensureVisible(const QRectF &_rect) when the property is set. If the text edit has another content type, it will not be replaced - by plain text if you call toPlainText(). + by plain text if you call toPlainText(). The only exception to this + is the non-break space, \i{nbsp;}, that will be converted into + standard space. By default, for an editor with no contents, this property contains an empty string. |