summaryrefslogtreecommitdiffstats
path: root/libkdchart/KDChartLinesPainter.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/KDChartLinesPainter.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/KDChartLinesPainter.h')
-rw-r--r--libkdchart/KDChartLinesPainter.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/libkdchart/KDChartLinesPainter.h b/libkdchart/KDChartLinesPainter.h
index cd2c40f..7528c6c 100644
--- a/libkdchart/KDChartLinesPainter.h
+++ b/libkdchart/KDChartLinesPainter.h
@@ -33,7 +33,7 @@
#include <KDChartTable.h>
#include <KDChartParams.h>
-class QSize;
+class TQSize;
class KDChartLinesPainter : public KDChartAxesPainter
{
@@ -43,14 +43,14 @@ class KDChartLinesPainter : public KDChartAxesPainter
KDChartLinesPainter( KDChartParams* params );
virtual ~KDChartLinesPainter();
- virtual void paintData( QPainter* painter,
+ virtual void paintData( TQPainter* painter,
KDChartTableDataBase* data,
bool paint2nd,
KDChartDataRegionList* regions = 0 );
virtual bool isNormalMode() const;
virtual int clipShiftUp( bool, double ) const;
- virtual void specificPaintData( QPainter* painter,
- const QRect& ourClipRect,
+ virtual void specificPaintData( TQPainter* painter,
+ const TQRect& ourClipRect,
KDChartTableDataBase* data,
KDChartDataRegionList* regions,
const KDChartAxisParams* axisPara,
@@ -68,14 +68,14 @@ class KDChartLinesPainter : public KDChartAxesPainter
uint datasetStart,
uint datasetEnd );
- void paintDataInternal( QPainter* painter,
+ void paintDataInternal( TQPainter* painter,
KDChartTableDataBase* data,
bool centerThePoints,
bool drawMarkers,
bool isArea,
bool paint2nd,
KDChartDataRegionList* regions = 0 );
- QPoint project( int x, int y, int z );
+ TQPoint project( int x, int y, int z );
private:
KDChartParams::ChartType mChartType;
bool mCenterThePoints;