diff options
Diffstat (limited to 'qtinterface/tqt.h.cmake')
-rw-r--r-- | qtinterface/tqt.h.cmake | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/qtinterface/tqt.h.cmake b/qtinterface/tqt.h.cmake index dda4991..53b3cf2 100644 --- a/qtinterface/tqt.h.cmake +++ b/qtinterface/tqt.h.cmake @@ -32,10 +32,28 @@ Boston, MA 02110-1301, USA. #undef TQT_SIGNAL #endif +#ifdef METHOD +#undef METHOD +#endif +#ifdef SLOT +#undef SLOT +#endif +#ifdef SIGNAL +#undef SIGNAL +#endif + #ifdef __cplusplus -#define TQT_METHOD(a) METHOD(a) -#define TQT_SLOT(a) SLOT(a) -#define TQT_SIGNAL(a) SIGNAL(a) +#define TQT_METHOD(a) TQ_METHOD(a) +#define TQT_SLOT(a) TQ_SLOT(a) +#define TQT_SIGNAL(a) TQ_SIGNAL(a) + +#define METHOD(a) TQ_METHOD(a) +#define SLOT(a) TQ_SLOT(a) +#define SIGNAL(a) TQ_SIGNAL(a) + +#define TQMETHOD_CODE TQ_METHOD_CODE +#define TQSLOT_CODE TQ_SLOT_CODE +#define TQSIGNAL_CODE TQ_SIGNAL_CODE #endif /* __cplusplus */ |