doc: Correct a few minor qdoc errors

A use of Q_QDOC is changed to Q_CLANG_QDOC.
A misspelled std type name is corrected.
A few extraneous ';' are removed.

Change-Id: Ic49f64a3b97f645268a8ecbbca5f0eef0456bb33
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
This commit is contained in:
Martin Smith 2017-05-31 09:21:58 +02:00
parent 2c25a431d0
commit e210b1233d
3 changed files with 6 additions and 6 deletions

View File

@ -773,7 +773,7 @@ int QDataStream::readBlock(char *data, int len)
}
/*!
\fn QDataStream &QDataStream::operator>>(std::nullptr &ptr)
\fn QDataStream &QDataStream::operator>>(std::nullptr_t &ptr)
\since 5.9
\overload
@ -1098,7 +1098,7 @@ int QDataStream::readRawData(char *s, int len)
*****************************************************************************/
/*!
\fn QDataStream &QDataStream::operator<<(std::nullptr ptr)
\fn QDataStream &QDataStream::operator<<(std::nullptr_t ptr)
\since 5.9
\overload

View File

@ -479,7 +479,7 @@ bool QAbstractEventDispatcher::filterNativeEvent(const QByteArray &eventType, vo
the processing of the event should continue.
*/
/*! \fn bool QAbstractEventDispatcher::registerEventNotifier(QWinEventNotifier *notifier);
/*! \fn bool QAbstractEventDispatcher::registerEventNotifier(QWinEventNotifier *notifier)
This pure virtual method exists on windows only and has to be reimplemented by a Windows specific
event dispatcher implementation. \a notifier is the QWinEventNotifier instance to be registered.
@ -492,7 +492,7 @@ bool QAbstractEventDispatcher::filterNativeEvent(const QByteArray &eventType, vo
\sa QWinEventNotifier, unregisterEventNotifier()
*/
/*! \fn bool QAbstractEventDispatcher::unregisterEventNotifier(QWinEventNotifier *notifier);
/*! \fn bool QAbstractEventDispatcher::unregisterEventNotifier(QWinEventNotifier *notifier)
This pure virtual method exists on windows only and has to be reimplemented by a Windows specific
event dispatcher implementation. \a notifier is the QWinEventNotifier instance to be unregistered.

View File

@ -49,7 +49,7 @@ class QAbstractNativeEventFilter;
class QAbstractEventDispatcherPrivate;
class QSocketNotifier;
#ifdef Q_OS_WIN
#if defined(Q_OS_WIN) || defined(Q_CLANG_QDOC)
class QWinEventNotifier;
#endif
@ -95,7 +95,7 @@ public:
virtual int remainingTime(int timerId) = 0;
#if defined(Q_OS_WIN) || defined(Q_QDOC)
#if defined(Q_OS_WIN) || defined(Q_CLANG_QDOC)
virtual bool registerEventNotifier(QWinEventNotifier *notifier) = 0;
virtual void unregisterEventNotifier(QWinEventNotifier *notifier) = 0;
#endif