summaryrefslogtreecommitdiffstats
path: root/kchart/kdchart/KDChartLinesPainter.cpp
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/KDChartLinesPainter.cpp
parent72bac0dd3d8bc03a06efb206a6fbdd618a39ca7e (diff)
downloadkoffice-f25aee7b805a903144ad05ef3e9bb70e6dbdb875.tar.gz
koffice-f25aee7b805a903144ad05ef3e9bb70e6dbdb875.zip
Drop Qt2 obsolete classes
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 72e96ecd25ffe8dcf9c0b0bdefc8ea259fe1dded)
Diffstat (limited to 'kchart/kdchart/KDChartLinesPainter.cpp')
-rw-r--r--kchart/kdchart/KDChartLinesPainter.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/kchart/kdchart/KDChartLinesPainter.cpp b/kchart/kdchart/KDChartLinesPainter.cpp
index 24a9b906..705abb98 100644
--- a/kchart/kdchart/KDChartLinesPainter.cpp
+++ b/kchart/kdchart/KDChartLinesPainter.cpp
@@ -31,12 +31,7 @@
#include <KDChartPropertySet.h>
#include <tqpainter.h>
-
-#if COMPAT_TQT_VERSION >= 0x030000
#include <tqvaluevector.h>
-#else
-#include <tqarray.h>
-#endif
#include <stdlib.h>
@@ -286,11 +281,7 @@ void KDChartLinesPainter::specificPaintData( TQPainter* painter,
( dataset >= static_cast < int > ( datasetStart ) && dataset >= 0 );
--dataset )
++arrayNumDatasets;
-#if COMPAT_TQT_VERSION >= 0x030000
TQValueVector<MyPoint> allPoints(
-#else
- TQArray<MyPoint> allPoints(
-#endif
arrayNumDatasets * arrayNumValues );
KDChartPropertySet curPropSet;