summaryrefslogtreecommitdiffstats
path: root/kchart/kdchart/KDChartGlobal.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-06-03 13:02:24 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-06-05 11:24:13 +0900
commitf25aee7b805a903144ad05ef3e9bb70e6dbdb875 (patch)
treee5fe2e983cadd94279139a4f75be81533d6b0424 /kchart/kdchart/KDChartGlobal.h
parent72bac0dd3d8bc03a06efb206a6fbdd618a39ca7e (diff)
downloadkoffice-f25aee7b.tar.gz
koffice-f25aee7b.zip
Drop Qt2 obsolete classes
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 72e96ecd25ffe8dcf9c0b0bdefc8ea259fe1dded)
Diffstat (limited to 'kchart/kdchart/KDChartGlobal.h')
-rw-r--r--kchart/kdchart/KDChartGlobal.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/kchart/kdchart/KDChartGlobal.h b/kchart/kdchart/KDChartGlobal.h
index 2dc4fdb3d..91772b015 100644
--- a/kchart/kdchart/KDChartGlobal.h
+++ b/kchart/kdchart/KDChartGlobal.h
@@ -78,40 +78,7 @@
#endif
-#if COMPAT_TQT_VERSION < 0x030000
-
-#if !defined(Q_ASSERT)
-#if defined(TQT_CHECK_STATE)
-#if defined(TQT_FATAL_ASSERT)
-#define Q_ASSERT(x) ((x) ? (void)0 : tqFatal("ASSERT: \"%s\" in %s (%d)",#x,__FILE__,__LINE__))
-#else
-#define Q_ASSERT(x) ((x) ? (void)0 : tqWarning("ASSERT: \"%s\" in %s (%d)",#x,__FILE__,__LINE__))
-#endif
-#else
-#define Q_ASSERT(x)
-#endif
-#endif
-
-#if !defined(TQT_NO_COMPAT)
-// source compatibility with TQt 2.x
-#ifndef Q_OS_TEMP
-# if !defined(ASSERT)
-# define ASSERT(x) Q_ASSERT(x)
-# endif
-#endif // Q_OS_TEMP
-#endif // TQT_NO_COMPAT
-
-#define TQMemArray TQArray
-
-#include <tqarray.h>
-
-#else
-
#include <tqmemarray.h>
-
-#endif
-// end of #if COMPAT_TQT_VERSION < 0x030000
-
#include <tqptrlist.h>
#include <tqptrvector.h>