diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-06-03 13:33:59 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-06-05 11:24:56 +0900 |
commit | 1a2f76163a8ce08c850f1f632d0a295be57d6807 (patch) | |
tree | 206561d838f27d560e568638f52700620aa12209 /libkdchart/KDChartGlobal.h | |
parent | d09e55dfbb793fc01c18d82eacbc59d6056a9390 (diff) | |
download | kmymoney-1a2f76163a8ce08c850f1f632d0a295be57d6807.tar.gz kmymoney-1a2f76163a8ce08c850f1f632d0a295be57d6807.zip |
Drop Qt2 obsolete classes
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit a3a44b5daea0e8674401be3b8b9f15bccd64520d)
Diffstat (limited to 'libkdchart/KDChartGlobal.h')
-rw-r--r-- | libkdchart/KDChartGlobal.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/libkdchart/KDChartGlobal.h b/libkdchart/KDChartGlobal.h index 2dc4fdb..fc96072 100644 --- a/libkdchart/KDChartGlobal.h +++ b/libkdchart/KDChartGlobal.h @@ -77,41 +77,7 @@ #endif #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> |