From fecb0e67b23e8b83ba7fc881bb57bc48c0852d62 Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 5 Jul 2011 06:00:29 +0000 Subject: TQt4 port kmymoney This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1239855 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libkdchart/KDChartSeriesCollection.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'libkdchart/KDChartSeriesCollection.h') diff --git a/libkdchart/KDChartSeriesCollection.h b/libkdchart/KDChartSeriesCollection.h index ac0a1c9..8cb2b65 100644 --- a/libkdchart/KDChartSeriesCollection.h +++ b/libkdchart/KDChartSeriesCollection.h @@ -30,14 +30,14 @@ #define __KDCHARTSERIESCOLLECTION_H__ // to avoid problems in TableBase - it doesn't include this - bug! -#include +#include #include "KDChartTableBase.h" #include "KDChartBaseSeries.h" -#if COMPAT_QT_VERSION >= 0x030000 -#include +#if COMPAT_TQT_VERSION >= 0x030000 +#include #else -#include +#include #endif class KDChartParams; #include "KDChartAxisParams.h" @@ -45,10 +45,10 @@ class KDChartParams; // takes ownership of any series passed to it, and will delete // them when it is deleted. class KDCHART_EXPORT KDChartSeriesCollection : public KDChartTableDataBase, -#if COMPAT_QT_VERSION >= 0x030000 - public QValueVector +#if COMPAT_TQT_VERSION >= 0x030000 + public TQValueVector #else - public QArray + public TQArray #endif { // Standard KDChartTableDataBase interface @@ -75,8 +75,8 @@ class KDCHART_EXPORT KDChartSeriesCollection : public KDChartTableDataBase, // extra functions for our use - virtual void setLegendText( KDChartBaseSeries *series, QString text ); - virtual QString legendText( KDChartBaseSeries *series ); + virtual void setLegendText( KDChartBaseSeries *series, TQString text ); + virtual TQString legendText( KDChartBaseSeries *series ); virtual void setYaxis( KDChartBaseSeries *series, KDChartAxisParams::AxisPos axis );// PENDING(blackie) possible enum problem -- cgit v1.2.1