From 014ed987ac3e496a6dac540a6b569e9fa73cd719 Mon Sep 17 00:00:00 2001 From: Alex Blasche Date: Thu, 2 Oct 2014 15:52:34 +0200 Subject: Fix QTextInlineObject class documentation Change-Id: I10ac533c1ba7a8003b59b1617af98afbdd4ed17f Task-number: QTBUG-39784 Reviewed-by: Konstantin Ritt Reviewed-by: Eskil Abrahamsen Blomfeldt --- src/gui/text/qtextlayout.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/gui/text/qtextlayout.cpp') diff --git a/src/gui/text/qtextlayout.cpp b/src/gui/text/qtextlayout.cpp index d7f66e241b..eafd98d234 100644 --- a/src/gui/text/qtextlayout.cpp +++ b/src/gui/text/qtextlayout.cpp @@ -92,14 +92,11 @@ QT_BEGIN_NAMESPACE \reentrant \brief The QTextInlineObject class represents an inline object in - a QTextLayout. + a QAbstractTextDocumentLayout and its implementations. \inmodule QtGui \ingroup richtext-processing - This class is only used if the text layout is used to lay out - parts of a QTextDocument. - Normally, you do not need to create a QTextInlineObject. It is used by QAbstractTextDocumentLayout to handle inline objects when implementing a custom layout. @@ -107,8 +104,8 @@ QT_BEGIN_NAMESPACE The inline object has various attributes that can be set, for example using, setWidth(), setAscent(), and setDescent(). The rectangle it occupies is given by rect(), and its direction by - isRightToLeft(). Its position in the text layout is given by at(), - and its format is given by format(). + textDirection(). Its position in the text layout is given by + textPosition(), and its format is given by format(). */ /*! -- cgit v1.2.3