summaryrefslogtreecommitdiffstats
path: root/src/kernel/qobjectdefs.h
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2018-09-25 20:57:27 +0900
committerMichele Calgaro <[email protected]>2018-09-25 20:57:27 +0900
commit230ed5e400ea4276d927570a7781cfcb5c7a534a (patch)
tree56bb72cae9206a3a6734a380f48b85051d054614 /src/kernel/qobjectdefs.h
parent2df70f03d493f5226821dd2e1da3759e3abceb02 (diff)
downloadqt3-230ed5e400ea4276d927570a7781cfcb5c7a534a.tar.gz
qt3-230ed5e400ea4276d927570a7781cfcb5c7a534a.zip
Always build with a clean namespace
QT_CLEAN_NAMESPACE constant is no more needed This may theoretically affect applications created for Qt1 and Qt2, but such applications require further modifications as well. --------------------------- Cherry picked and adapted from commit ff63338d in tqt3 from Slávek Banko <[email protected]> Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/kernel/qobjectdefs.h')
-rw-r--r--src/kernel/qobjectdefs.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/kernel/qobjectdefs.h b/src/kernel/qobjectdefs.h
index cab0ec0..e0f31f6 100644
--- a/src/kernel/qobjectdefs.h
+++ b/src/kernel/qobjectdefs.h
@@ -142,12 +142,6 @@ private: \
#define SIGNAL(a) "2"#a
#endif
-#ifndef QT_CLEAN_NAMESPACE
-#define METHOD_CODE 0 // member type codes
-#define SLOT_CODE 1
-#define SIGNAL_CODE 2
-#endif
-
#define QMETHOD_CODE 0 // member type codes
#define QSLOT_CODE 1
#define QSIGNAL_CODE 2