From b290b3336e86f17b7cc452893bf608bbbc3ea562 Mon Sep 17 00:00:00 2001 From: Martin Smith Date: Wed, 10 Jan 2018 14:02:46 +0100 Subject: [PATCH] doc: Add missing class qualifiers to uses of Tab MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Tab is contained in QTextOption, so it needs that class qualifier. Also removed a useless qdoc comment. Change-Id: Ic37f0fc8cb97c2b022f69293e8fd50f0a5a2b649 Reviewed-by: Topi Reiniƶ --- src/gui/text/qtextoption.cpp | 19 ++++++------------- 1 file 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::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,26 +432,19 @@ QList 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 &tabStops) - Set the Tab properties to \a tabStops. - - \sa tabStopDistance(), tabs() -*/ - /*! \since 4.4 \fn QList QTextOption::tabs() const