Doc: Remove invalid uses of \relates command
authorTopi Reinio <topi.reinio@digia.com>
Wed, 19 Aug 2015 11:24:59 +0000 (13:24 +0200)
committerTopi Reiniƶ <topi.reinio@digia.com>
Wed, 19 Aug 2015 12:06:05 +0000 (12:06 +0000)
A function cannot be both a member and a non-member of the same class.

Change-Id: I07d1e04c09fea2ba1171b3692e716660044cd37a
Reviewed-by: Martin Smith <martin.smith@digia.com>
src/corelib/io/qabstractfileengine.cpp
src/corelib/tools/qrect.cpp
src/corelib/tools/qstring.cpp
src/corelib/tools/qtimezone.cpp
src/gui/accessible/qaccessible.cpp

index 07270eb790e2d6016193ad2d3e5b894ca63b7222..2ab789e0af5ecb4c02e66d536aa29f4680797436 100644 (file)
@@ -891,7 +891,6 @@ bool QAbstractFileEngine::unmap(uchar *address)
 /*!
     \typedef QAbstractFileEngine::Iterator
     \since 4.3
-    \relates QAbstractFileEngine
 
     Synonym for QAbstractFileEngineIterator.
 */
index b2174745e47715019461753a685cf879d3023580..847f650a707c2ca94026f963823246d063d8d31b 100644 (file)
@@ -2403,7 +2403,6 @@ QRect QRectF::toAlignedRect() const Q_DECL_NOTHROW
 
 /*!
     \fn QRectF QRectF::marginsAdded(const QMarginsF &margins) const
-    \relates QRectF
     \since 5.3
 
     Returns a rectangle grown by the \a margins.
@@ -2413,7 +2412,6 @@ QRect QRectF::toAlignedRect() const Q_DECL_NOTHROW
 
 /*!
     \fn QRectF QRectF::marginsRemoved(const QMarginsF &margins) const
-    \relates QRectF
     \since 5.3
 
     Removes the \a margins from the rectangle, shrinking it.
@@ -2423,7 +2421,6 @@ QRect QRectF::toAlignedRect() const Q_DECL_NOTHROW
 
 /*!
     \fn QRectF QRectF::operator+=(const QMarginsF &margins)
-    \relates QRectF
     \since 5.3
 
     Adds the \a margins to the rectangle, growing it.
@@ -2433,7 +2430,6 @@ QRect QRectF::toAlignedRect() const Q_DECL_NOTHROW
 
 /*!
     \fn QRectF QRectF::operator-=(const QMarginsF &margins)
-    \relates QRectF
     \since 5.3
 
     Returns a rectangle shrunk by the \a margins.
index 8bb8953ddea1c6fdff042df8eff27486fb74a3f0..c43a7be7fd25b2c3384eba0fa75a4f39d4e1498f 100644 (file)
@@ -2738,7 +2738,7 @@ bool operator<(const QString &s1, const QString &s2)
 }
 /*!
    \overload operator<()
-   \relates QString
+
     Returns \c true if this string is lexically less than the parameter
     string called \a other; otherwise returns \c false.
 */
@@ -2843,7 +2843,7 @@ bool QString::operator<(QLatin1String other) const
 
 /*!
    \overload operator>()
-   \relates QString
+
     Returns \c true if this string is lexically greater than the parameter
     string \a other; otherwise returns \c false.
 */
index 45ae23cdf523bd5dd2a2a0484ae661c3efc1c5f5..900c8ff14e77f1416f37544bc21ad873a04981b0 100644 (file)
@@ -310,7 +310,6 @@ Q_GLOBAL_STATIC(QTimeZoneSingleton, global_tz);
 
 /*!
     \typedef QTimeZone::OffsetDataList
-    \relates QTimeZone
 
     Synonym for QVector<OffsetData>.
 */
index 50a4a0910293bd5c9aaab779a6afdebaf712e085..e9995045b196126b9ad7cc7a4d79c11791928844 100644 (file)
@@ -451,7 +451,6 @@ QAccessibleInterface::~QAccessibleInterface()
 
 /*!
     \typedef QAccessible::Id
-    \relates QAccessible
 
     Synonym for unsigned, used by the QAccessibleInterface cache.
 */