diff options
Diffstat (limited to 'src/corelib/global/qglobal.cpp')
-rw-r--r-- | src/corelib/global/qglobal.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/corelib/global/qglobal.cpp b/src/corelib/global/qglobal.cpp index 222c008f8a..6ce7f97580 100644 --- a/src/corelib/global/qglobal.cpp +++ b/src/corelib/global/qglobal.cpp @@ -63,6 +63,7 @@ using namespace Qt::StringLiterals; \row \li <QFlags> \li Type-safe way of combining enum values \row \li \l <QForeach> \li Qt's implementation of foreach and forever loops \row \li \l <QFunctionPointer> \li Typedef for a pointer-to-function type + \row \li \l <QApplicationStatic> \li For Q_APPLICATION_STATIC \row \li <QGlobalStatic> \li Thread-safe initialization of global static objects \row \li \l <QOverload> \li Helpers for resolving member function overloads \row \li <QSysInfo> \li A helper class to get system information @@ -170,6 +171,19 @@ bool QInternal::activateCallbacks(Callback cb, void **parameters) } /*! + \macro QT_NO_KEYWORDS + \relates <QtGlobal> + + Define this macro to disable the Qt-specific keywords that are usually enabled, + such as \c signals and \c slots. Use \c Q_SIGNALS and \c Q_SLOTS instead. + + Libraries should define this macro to make sure that they don't use the generic + keywords without the \c Q_ prefix in their public headers. + + \sa QT_NO_FOREACH +*/ + +/*! \macro QT_NAMESPACE \internal |