summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qglobal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/global/qglobal.cpp')
-rw-r--r--src/corelib/global/qglobal.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/corelib/global/qglobal.cpp b/src/corelib/global/qglobal.cpp
index e4fa0f7391..3ea121fcc2 100644
--- a/src/corelib/global/qglobal.cpp
+++ b/src/corelib/global/qglobal.cpp
@@ -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