summaryrefslogtreecommitdiffstats
path: root/src/kernel/ntqobjectdefs.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-27 19:25:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-27 19:25:43 +0900
commitfb401a891f1b426e9419c0cb16403df407138611 (patch)
tree045b51949b3140039e37d898d8b0513016a86bea /src/kernel/ntqobjectdefs.h
parenta9d178f1000475ba1727ffe123a2c54585488c01 (diff)
downloadtqt3-fb401a891f1b426e9419c0cb16403df407138611.tar.gz
tqt3-fb401a891f1b426e9419c0cb16403df407138611.zip
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/kernel/ntqobjectdefs.h')
-rw-r--r--src/kernel/ntqobjectdefs.h30
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;