Doc: Small addition to QAbstractTextDocumentLayout::registerHandler()
authorGeir Vattekar <geir.vattekar@nokia.com>
Tue, 14 Aug 2012 13:01:07 +0000 (15:01 +0200)
committerQt by Nokia <qt-info@nokia.com>
Sat, 18 Aug 2012 19:08:33 +0000 (21:08 +0200)
Task-number: QTBUG-23345
Change-Id: I6f768472aaef95f5dd88cf896ef3e635d223b635
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@nokia.com>
Reviewed-by: Geir Vattekar <geir.vattekar@nokia.com>
src/gui/text/qabstracttextdocumentlayout.cpp

index 9c523f1..f835395 100644 (file)
@@ -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)
 {