diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-27 19:31:01 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-30 14:43:07 +0900 |
commit | 2ad1beb815994ee2f2cefd31ec76102b880d7768 (patch) | |
tree | 6396f2099d1789e412b54f09c18fe72fc6c3f132 /qtinterface/tqt.h.cmake | |
parent | 12e1fb1a13b5d4e17220b264086d82c541efc166 (diff) | |
download | tqtinterface-2ad1beb815994ee2f2cefd31ec76102b880d7768.tar.gz tqtinterface-2ad1beb815994ee2f2cefd31ec76102b880d7768.zip |
Rename TQT_{METHOD, SIGNAL, SLOT} and METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT. This is a temporary step to make sure TDE keeps building while METHOD, SIGNAL, SLOT are renamed in every repository.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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 */ |