summaryrefslogtreecommitdiffstats
path: root/libkdchart/KDChart.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-05 06:00:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-05 06:00:29 +0000
commitfecb0e67b23e8b83ba7fc881bb57bc48c0852d62 (patch)
tree6b8614802f0d01b353bc9ba78aff2090846c198e /libkdchart/KDChart.h
parentdadc34655c3ab961b0b0b94a10eaaba710f0b5e8 (diff)
downloadkmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.tar.gz
kmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.zip
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
Diffstat (limited to 'libkdchart/KDChart.h')
-rw-r--r--libkdchart/KDChart.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/libkdchart/KDChart.h b/libkdchart/KDChart.h
index 4d4944e..1f91f25 100644
--- a/libkdchart/KDChart.h
+++ b/libkdchart/KDChart.h
@@ -29,9 +29,9 @@
#ifndef __KDCHART_H__
#define __KDCHART_H__
-#ifdef QSA
-#include <qsproject.h>
-#endif // QSA
+#ifdef TQSA
+#include <tqsproject.h>
+#endif // TQSA
#include "KDChartGlobal.h"
#include "KDChartTable.h"
@@ -41,15 +41,15 @@
/** \file KDChart.h
\brief Definition of a single entry-point to the charting engine for
- applications that wish to provide their own QPainter.
+ applications that wish to provide their own TQPainter.
- It is not useful to instantiate the KDChart class as it only contains
+ It is not useful to instantiate the KDChart class as it only tqcontains
static methods.
*/
class KDChartPainter;
-class QPainter;
-class QSInterpreter;
+class TQPainter;
+class TQSInterpreter;
class KDCHART_EXPORT KDChart
@@ -57,26 +57,26 @@ class KDCHART_EXPORT KDChart
friend void cleanupPainter();
public:
- static bool setupGeometry( QPainter* painter,
+ static bool setupGeometry( TQPainter* painter,
KDChartParams* params,
KDChartTableDataBase* data,
- const QRect& drawRect );
+ const TQRect& drawRect );
- static bool painterToDrawRect( QPainter* painter, QRect& drawRect );
+ static bool painterToDrawRect( TQPainter* painter, TQRect& drawRect );
- static void paint( QPainter*, KDChartParams*, KDChartTableDataBase*,
+ static void paint( TQPainter*, KDChartParams*, KDChartTableDataBase*,
KDChartDataRegionList* regions = 0,
- const QRect* rect = 0,
+ const TQRect* rect = 0,
bool mustCalculateGeometry = true );
- static void print( QPainter*, KDChartParams*, KDChartTableDataBase*,
+ static void print( TQPainter*, KDChartParams*, KDChartTableDataBase*,
KDChartDataRegionList* regions = 0,
- const QRect* rect = 0,
+ const TQRect* rect = 0,
bool mustCalculateGeometry = true );
-#ifdef QSA
- static void initInterpreter( QSInterpreter* );
- static void initProject( QSProject* );
+#ifdef TQSA
+ static void initInterpreter( TQSInterpreter* );
+ static void initProject( TQSProject* );
#endif
private:
@@ -88,9 +88,9 @@ class KDCHART_EXPORT KDChart
static KDChartParams::ChartType cpainterType;
static KDChartParams::ChartType cpainterType2;
-#ifdef QSA
- static QString globals();
- static void privateInitInterpreter( QSInterpreter* interpreter );
+#ifdef TQSA
+ static TQString globals();
+ static void privateInitInterpreter( TQSInterpreter* interpreter );
#endif
};