path: root/src/gui
diff options
authorMartin Smith <>2018-01-10 14:02:46 +0100
committerMartin Smith <>2018-01-12 18:18:22 +0000
commitb290b3336e86f17b7cc452893bf608bbbc3ea562 (patch)
treedc2e7cf14878fb758c09d0838364e928ff34c9d1 /src/gui
parent0b637760a5399301887c684979295a51ef4aea56 (diff)
doc: Add missing class qualifiers to uses of Tab
Tab is contained in QTextOption, so it needs that class qualifier. Also removed a useless qdoc comment. Change-Id: Ic37f0fc8cb97c2b022f69293e8fd50f0a5a2b649 Reviewed-by: Topi Reiniƶ <>
Diffstat (limited to 'src/gui')
1 files changed, 6 insertions, 13 deletions
diff --git a/src/gui/text/qtextoption.cpp b/src/gui/text/qtextoption.cpp
index 2a16f50f33..310ced5463 100644
--- a/src/gui/text/qtextoption.cpp
+++ b/src/gui/text/qtextoption.cpp
@@ -404,24 +404,24 @@ QList<QTextOption::Tab> QTextOption::tabs() const
- \variable Tab::type
+ \variable QTextOption::Tab::type
Determine which type is used.
In a paragraph that has layoutDirection() RightToLeft the type LeftTab will
be interpreted to be a RightTab and vice versa.
- \variable Tab::delimiter
+ \variable QTextOption::Tab::delimiter
If type is DelimitorTab; tab until this char is found in the text.
- \fn Tab::Tab()
+ \fn QTextOption::Tab::Tab()
Creates a default left tab with position 80.
- \fn Tab::Tab(qreal pos, TabType tabType, QChar delim = QChar())
+ \fn QTextOption::Tab::Tab(qreal pos, TabType tabType, QChar delim = QChar())
Creates a tab with the given position, tab type, and delimiter
(\a pos, \a tabType, \a delim).
@@ -432,27 +432,20 @@ QList<QTextOption::Tab> QTextOption::tabs() const
- \fn bool Tab::operator==(const Tab &other) const
+ \fn bool QTextOption::Tab::operator==(const QTextOption::Tab &other) const
Returns \c true if tab \a other is equal to this tab;
otherwise returns \c false.
- \fn bool Tab::operator!=(const Tab &other) const
+ \fn bool QTextOption::Tab::operator!=(const QTextOption::Tab &other) const
Returns \c true if tab \a other is not equal to this tab;
otherwise returns \c false.
- \fn void setTabs(const QList<Tab> &tabStops)
- Set the Tab properties to \a tabStops.
- \sa tabStopDistance(), tabs()
\since 4.4
\fn QList<QTextOption::Tab> QTextOption::tabs() const
Returns a list of tab positions defined for the text layout.