diff options
Diffstat (limited to 'src/kernel/ntqobjectdefs.h')
-rw-r--r-- | src/kernel/ntqobjectdefs.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/kernel/ntqobjectdefs.h b/src/kernel/ntqobjectdefs.h index fac233ce3..ba5e12b88 100644 --- a/src/kernel/ntqobjectdefs.h +++ b/src/kernel/ntqobjectdefs.h @@ -122,29 +122,29 @@ private: \ #endif // macro for naming members -#ifdef METHOD -#undef METHOD +#ifdef TQ_METHOD +#undef TQ_METHOD #endif -#ifdef SLOT -#undef SLOT +#ifdef TQ_SLOT +#undef TQ_SLOT #endif -#ifdef SIGNAL -#undef SIGNAL +#ifdef TQ_SIGNAL +#undef TQ_SIGNAL #endif #if defined(_OLD_CPP_) -#define METHOD(a) "0""a" -#define SLOT(a) "1""a" -#define SIGNAL(a) "2""a" +#define TQ_METHOD(a) "0""a" +#define TQ_SLOT(a) "1""a" +#define TQ_SIGNAL(a) "2""a" #else -#define METHOD(a) "0"#a -#define SLOT(a) "1"#a -#define SIGNAL(a) "2"#a +#define TQ_METHOD(a) "0"#a +#define TQ_SLOT(a) "1"#a +#define TQ_SIGNAL(a) "2"#a #endif -#define TQMETHOD_CODE 0 // member type codes -#define TQSLOT_CODE 1 -#define TQSIGNAL_CODE 2 +#define TQ_METHOD_CODE 0 // member type codes +#define TQ_SLOT_CODE 1 +#define TQ_SIGNAL_CODE 2 class TQObject; class TQMetaObject; |