From f20472efa7e4a80b5aa1df3b98778b92cf339220 Mon Sep 17 00:00:00 2001 From: Geir Vattekar Date: Tue, 14 Aug 2012 15:01:07 +0200 Subject: Doc: Small addition to QAbstractTextDocumentLayout::registerHandler() Task-number: QTBUG-23345 Change-Id: I6f768472aaef95f5dd88cf896ef3e635d223b635 Reviewed-by: Venugopal Shivashankar Reviewed-by: Geir Vattekar --- src/gui/text/qabstracttextdocumentlayout.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui') 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) { -- cgit v1.2.3