You can define the macro QT_NO_KEYWORDS, which disables the macros "signals" and "slots".
If you are using QMake:
CONFIG += no_keywords
( Qt documentation here )
If you use a different build system, do whatever it takes to pass it to the -DQT_NO_KEYWORDScompiler.
QT_NO_KEYWORDS signals Q_SIGNALS slots Q_SLOTS Qt-.
Qt, . , " ", "" cdk.h:
#undef signals
#include <cdk.h>
no_keywords, , .