summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qabstracttextdocumentlayout.cpp
diff options
context:
space:
mode:
authorGeir Vattekar <geir.vattekar@nokia.com>2012-08-14 15:01:07 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-18 21:08:33 +0200
commitf20472efa7e4a80b5aa1df3b98778b92cf339220 (patch)
tree74673aa2fc8d3cb4949f12c74dbdebe4c0e29ac2 /src/gui/text/qabstracttextdocumentlayout.cpp
parenta69425ff3fc03e3baced93d3c5985abcc6fabbb4 (diff)
Doc: Small addition to QAbstractTextDocumentLayout::registerHandler()
Task-number: QTBUG-23345 Change-Id: I6f768472aaef95f5dd88cf896ef3e635d223b635 Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@nokia.com> Reviewed-by: Geir Vattekar <geir.vattekar@nokia.com>
Diffstat (limited to 'src/gui/text/qabstracttextdocumentlayout.cpp')
-rw-r--r--src/gui/text/qabstracttextdocumentlayout.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/text/qabstracttextdocumentlayout.cpp b/src/gui/text/qabstracttextdocumentlayout.cpp
index 9c523f15e1..f83539543a 100644
--- a/src/gui/text/qabstracttextdocumentlayout.cpp
+++ b/src/gui/text/qabstracttextdocumentlayout.cpp
@@ -419,6 +419,8 @@ QAbstractTextDocumentLayout::~QAbstractTextDocumentLayout()
\note registerHandler() has to be called once for each object type. This
means that there is only one handler for multiple replacement characters
of the same object type.
+
+ The text document layout does not take ownership of \c component.
*/
void QAbstractTextDocumentLayout::registerHandler(int formatType, QObject *component)
{