summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qtextlayout.cpp
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@digia.com>2014-10-02 15:52:34 +0200
committerAlex Blasche <alexander.blasche@digia.com>2014-10-05 11:22:25 +0200
commit014ed987ac3e496a6dac540a6b569e9fa73cd719 (patch)
treece2f9a4be9830573cded6c5da12788950588a486 /src/gui/text/qtextlayout.cpp
parent100455d4c1f77bbf171d91656a17f78c92de0eb8 (diff)
Fix QTextInlineObject class documentation
Change-Id: I10ac533c1ba7a8003b59b1617af98afbdd4ed17f Task-number: QTBUG-39784 Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
Diffstat (limited to 'src/gui/text/qtextlayout.cpp')
-rw-r--r--src/gui/text/qtextlayout.cpp9
1 files changed, 3 insertions, 6 deletions
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().
*/
/*!