Fix some documentation warnings.

qtbase/src/corelib/io/qnoncontiguousbytedevice.cpp:87: warning: Cannot find 'atEnd(...)' in '\fn' virtual bool QNonContiguousByteDevice::atEnd()
qtbase/src/corelib/io/qnoncontiguousbytedevice.cpp:107: warning: Cannot find 'size(...)' in '\fn' virtual qint64 QNonContiguousByteDevice::size()
qtbase/src/corelib/io/qsettings.cpp:2387: warning: Unexpected '\endlist'
qtbase/src/corelib/kernel/qcoreevent.cpp:90: warning: Undocumented enum item 'Pointer' in QEvent::Type
qtbase/src/corelib/kernel/qmetaobject.cpp:346: warning: No documentation for 'QMetaObject::inherits(const QMetaObject *metaObject)'
qtbase/src/corelib/statemachine/qsignaltransition.cpp:154: warning: No such parameter 'sourceSate' in QSignalTransition::QSignalTransition()
qtbase/src/corelib/global/qglobal.cpp:945: warning: Undocumented parameter 'memberFunctionPointer' in qConstOverload()
qtbase/src/corelib/global/qglobal.cpp:956: warning: Undocumented parameter 'memberFunctionPointer' in qNonConstOverload()
qtbase/src/widgets/doc/src/widgets-and-layouts/stylesheet.qdoc:519: warning: Command '\snippet (//! [96])' failed at end of file 'code/doc_src_stylesheet.cpp'

Change-Id: I7da69b9b535f484e10ca030dbf64b6007dce0df3
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
This commit is contained in:
Friedemann Kleint 2016-03-24 10:34:55 +01:00 committed by Simon Hausmann
parent 531e449f93
commit 14b79ae2b3
7 changed files with 10 additions and 11 deletions

View File

@ -946,7 +946,7 @@ Q_STATIC_ASSERT_X(QT_POINTER_SIZE == sizeof(void *), "QT_POINTER_SIZE defined in
\relates <QtGlobal>
\since 5.7
Returns a pointer to a constant member function:
Returns the \a memberFunctionPointer pointer to a constant member function:
\snippet code/src_corelib_global_qglobal.cpp 54
@ -957,7 +957,7 @@ Q_STATIC_ASSERT_X(QT_POINTER_SIZE == sizeof(void *), "QT_POINTER_SIZE defined in
\relates <QtGlobal>
\since 5.7
Returns a pointer to a non-constant member function:
Returns the \a memberFunctionPointer pointer to a constant member function:
\snippet code/src_corelib_global_qglobal.cpp 54

View File

@ -85,7 +85,7 @@ QT_BEGIN_NAMESPACE
\internal
*/
/*!
\fn virtual bool QNonContiguousByteDevice::atEnd()
\fn virtual bool QNonContiguousByteDevice::atEnd() const
Returns \c true if everything has been read and the read
pointer cannot be advanced anymore.
@ -105,7 +105,7 @@ QT_BEGIN_NAMESPACE
\internal
*/
/*!
\fn virtual qint64 QNonContiguousByteDevice::size()
\fn virtual qint64 QNonContiguousByteDevice::size() const
Returns the size of the complete device or -1 if unknown.
May also return less/more than what can be actually read with readPointer()

View File

@ -2382,8 +2382,6 @@ void QConfFileSettingsPrivate::ensureSectionParsed(QConfFile *confFile,
10.8 (Mountain Lion), only root can. However, 10.9 (Mavericks) changes
that rule again but only for the native format (plist files).
\endlist
\endlist
\sa QVariant, QSessionManager, {Settings Editor Example}, {Application Example}

View File

@ -191,6 +191,7 @@ QT_BEGIN_NAMESPACE
\value ParentChange The widget parent has changed.
\value PlatformPanel A platform specific panel has been requested.
\value PlatformSurface A native platform surface has been created or is about to be destroyed (QPlatformSurfaceEvent).
\omitvalue Pointer
\value Polish The widget is polished.
\value PolishRequest The widget should be polished.
\value QueryWhatsThis The widget should accept the event if it has "What's This?" help.

View File

@ -325,7 +325,7 @@ const char *QMetaObject::className() const
\sa className()
*/
/*
/*!
Returns \c true if the class described by this QMetaObject inherits
the type described by \a metaObject; otherwise returns false.

View File

@ -153,12 +153,12 @@ QSignalTransition::QSignalTransition(const QObject *sender, const char *signal,
/*!
\fn QSignalTransition::QSignalTransition(const QObject *sender,
PointerToMemberFunction signal, QState *sourceState);
PointerToMemberFunction signal, QState *sourceState)
\since 5.7
\overload
Constructs a new signal transition associated with the given \a signal of
the given \a sender object and with the given \a sourceSate.
the given \a sender object and with the given \a sourceState.
This constructor is enabled if compiler supports delegating constructor.
\sa Q_COMPILER_DELEGATING_CONSTRUCTORS

View File

@ -140,5 +140,5 @@ ageSpinBox->setProperty("mandatoryField", true);
//! [95]
//! [96]
qApp->setAttribute(Qt::AA_UseStyleSheetPropagationInWidgetStyles, true);
//! [97]
QCoreApplication::setAttribute(Qt::AA_UseStyleSheetPropagationInWidgetStyles, true);
//! [96]