<QtGlobal> Proxy Page
Macros
(since 6.0) | QT_NO_FOREACH |
QT_NO_KEYWORDS |
Macro Documentation
[since 6.0]
QT_NO_FOREACH
Defining this macro removes the availability of Qt's foreach
loop.
This macro was introduced in Qt 6.0.
See also QT_NO_KEYWORDS.
QT_NO_KEYWORDS
Define this macro to disable the Qt-specific keywords that are usually enabled, such as signals
and slots
. Use Q_SIGNALS
and Q_SLOTS
instead.
Libraries should define this macro to make sure that they don't use the generic keywords without the Q_
prefix in their public headers.
See also QT_NO_FOREACH.
© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.