Fix typos in qOverload documentation

Change-Id: I92f99623f659543934c52961307b0b53c8520948
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
bb10
Peter Kümmel 2016-02-15 22:29:44 +01:00
parent aae362e2fe
commit d562c7761e
1 changed files with 7 additions and 7 deletions

View File

@ -925,17 +925,17 @@ Q_STATIC_ASSERT_X(QT_POINTER_SIZE == sizeof(void *), "QT_POINTER_SIZE defined in
\relates <QtGlobal>
\since 5.7
qOverload() returns a pointer to an overloaded function. The template
Returns a pointer to an overloaded function. The template
parameter is the list of the argument types of the function.
\a functionPointer is the pointer to the (member) function:
\snippet code/src_corelib_global_qglobal.cpp 52
If a member function is also const-overladed \l qConstOverload and
\l qNonConstOverload needs to be used.
If a member function is also const-overloaded \l qConstOverload and
\l qNonConstOverload need to be used.
qOverload() needs C++14 enabled. In C++11 only code the helper
classes QOverload, QConstOverload, and QNonConstOverload could be used directly:
qOverload() requires C++14 enabled. In C++11-only code, the helper
classes QOverload, QConstOverload, and QNonConstOverload can be used directly:
\snippet code/src_corelib_global_qglobal.cpp 53
@ -946,7 +946,7 @@ Q_STATIC_ASSERT_X(QT_POINTER_SIZE == sizeof(void *), "QT_POINTER_SIZE defined in
\relates <QtGlobal>
\since 5.7
qConstOverload() returns a pointer to an constant member function:
Returns a 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
qNonConstOverload() eturns a pointer to an non constant member function:
Returns a pointer to a non-constant member function:
\snippet code/src_corelib_global_qglobal.cpp 54