Fix some qdoc warnings: typos and qdoc syntax

Change-Id: Idf5c1490330e0f2e5d4bcf920eb03fc9993b3c8a
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
Volker Hilsheimer 2020-09-21 23:55:58 +02:00
parent 19da4897af
commit 1e2325f0dc
5 changed files with 7 additions and 9 deletions

View File

@ -438,7 +438,7 @@
\snippet drilldown/imageitem.h 0
We declare a \c Type enum value for our custom item and reimplement
\l{QGreaphicsItem::}{type()}. This is done so we can safely use
\l{QGraphicsItem::}{type()}. This is done so we can safely use
qgraphicsitem_cast().
In addition, we implement a public \c id() function to be able to
identify the associated location and a public \c adjust() function

View File

@ -2118,7 +2118,7 @@ bool QVariant::view(int type, void *ptr)
\li If one type is numeric and the other one a QString, Qt will try to
convert the QString to a matching numeric type and if successful compare
those.
\i If both variants contain pointers to QObject derived types, QVariant
\li If both variants contain pointers to QObject derived types, QVariant
will check whether the types are related and point to the same object.
\endlist
*/
@ -2700,7 +2700,7 @@ QDebug operator<<(QDebug dbg, const QVariant::Type p)
\class QVariantConstPointer
\since 6.0
\inmodule QtCore
\brief Emulated const pointer to QVariant based on a pointer
\brief Emulated const pointer to QVariant based on a pointer.
QVariantConstPointer wraps a QVariant and returns it from its operator*().
This makes it suitable as replacement for an actual const pointer. We cannot
@ -2737,7 +2737,7 @@ const QVariant *QVariantConstPointer::operator->() const
\class QVariantPointer
\since 6.0
\inmodule QtCore
\brief Emulated pointer to QVariant based on a pointer
\brief Emulated pointer to QVariant based on a pointer.
QVariantConstPointer wraps a pointer and returns QVariantRef to it from its
operator*(). This makes it suitable as replacement for an actual pointer. We

View File

@ -315,7 +315,7 @@ QT_BEGIN_NAMESPACE
\relates QMargins
Returns a QMargins object that is formed from the maximum of each
component of \a m2 and a m1.
component of \a m2 and \a m1.
\sa QMargins::operator+=(), QMargins::operator-=()
@ -668,7 +668,7 @@ QDebug operator<<(QDebug dbg, const QMargins &m)
\overload
Returns a QMarginsF object that is formed from the maximum of each
component of \a m2 and a m1.
component of \a m2 and \a m1.
\sa QMarginsF::operator+=(), QMarginsF::operator-=()

View File

@ -633,7 +633,7 @@ void QWindowSystemInterface::registerInputDevice(const QInputDevice *device)
/*!
\internal
Convert a list of \l QWindowSystemInterface::TouchPoint \a points to a list
of \em temporary QEventPoint instances, scaled (but not localized)
of \e temporary QEventPoint instances, scaled (but not localized)
for delivery to the given \a window.
This is called from QWindowSystemInterface::handleTouchEvent():

View File

@ -528,8 +528,6 @@ void qt_init_tooltip_palette()
extern void qRegisterWidgetsVariant();
/*!
\fn void QApplicationPrivate::initialize()
Initializes the QApplication object, called from the constructors.
*/
void QApplicationPrivate::initialize()