<QtGlobal> Proxy Page
宏
(从 6.0 起)
|
QT_NO_FOREACH |
QT_NO_KEYWORDS |
宏文档编制
[since 6.0]
QT_NO_FOREACH
Defining this macro removes the availability of Qt's
foreach
循环。
该宏在 Qt 6.0 引入。
另请参阅 QT_NO_KEYWORDS .
QT_NO_KEYWORDS
Define this macro to disable the Qt-specific keywords that are usually enabled, such as
signals
and
slots
。使用
Q_SIGNALS
and
Q_SLOTS
代替。
Libraries should define this macro to make sure that they don't use the generic keywords without the
Q_
prefix in their public headers.
另请参阅 QT_NO_FOREACH .