From 1a2f76163a8ce08c850f1f632d0a295be57d6807 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 3 Jun 2023 13:33:59 +0900 Subject: Drop Qt2 obsolete classes Signed-off-by: Michele Calgaro (cherry picked from commit a3a44b5daea0e8674401be3b8b9f15bccd64520d) --- libkdchart/KDChartGlobal.h | 34 ---------------------------------- 1 file changed, 34 deletions(-) (limited to 'libkdchart/KDChartGlobal.h') 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 - -#else - #include - -#endif -// end of #if COMPAT_TQT_VERSION < 0x030000 - #include #include -- cgit v1.2.1