diff options
Diffstat (limited to 'src/corelib/global/qglobal.cpp')
-rw-r--r-- | src/corelib/global/qglobal.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/corelib/global/qglobal.cpp b/src/corelib/global/qglobal.cpp index eb06a95014..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 @@ -346,6 +360,7 @@ bool QInternal::activateCallbacks(Callback cb, void **parameters) \row \li 6.6.0 \li The qExchange() function (see \l{QT_NO_QEXCHANGE}) \row \li 6.7.0 \li Overloads of QObject::connect that do not take a context object (see \l{QT_NO_CONTEXTLESS_CONNECT}) \row \li 6.8.0 \li The qAsConst() function (see \l{QT_NO_QASCONST}) + \row \li 6.8.0 \li File-related I/O classes have their \c{open()} functions marked \c{[[nodiscard]]} (see \l{QT_USE_NODISCARD_FILE_OPEN}) \endtable Moreover, individual APIs may also get disabled as part of the |