diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-05 06:00:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-05 06:00:29 +0000 |
commit | fecb0e67b23e8b83ba7fc881bb57bc48c0852d62 (patch) | |
tree | 6b8614802f0d01b353bc9ba78aff2090846c198e /libkdchart/KDChartBarPainter.h | |
parent | dadc34655c3ab961b0b0b94a10eaaba710f0b5e8 (diff) | |
download | kmymoney-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/KDChartBarPainter.h')
-rw-r--r-- | libkdchart/KDChartBarPainter.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libkdchart/KDChartBarPainter.h b/libkdchart/KDChartBarPainter.h index 10b0e05..fc57320 100644 --- a/libkdchart/KDChartBarPainter.h +++ b/libkdchart/KDChartBarPainter.h @@ -32,11 +32,11 @@ #include "KDChartAxesPainter.h" #include <KDChartTable.h> -#include <qnamespace.h> +#include <tqnamespace.h> class KDChartParams; -class KDChartBarPainter : public KDChartAxesPainter, public Qt +class KDChartBarPainter : public KDChartAxesPainter, public TQt { friend class KDChartPainter; protected: @@ -44,15 +44,15 @@ class KDChartBarPainter : public KDChartAxesPainter, public Qt virtual ~KDChartBarPainter(); /* - virtual void paintData( QPainter* painter, + virtual void paintData( TQPainter* painter, KDChartTableDataBase* data, bool paint2nd, KDChartDataRegionList* regions ); */ virtual bool isNormalMode() const; virtual int clipShiftUp( bool normalMode, double areaWidthP1000 ) const; - virtual void specificPaintData( QPainter* painter, - const QRect& ourClipRect, + virtual void specificPaintData( TQPainter* painter, + const TQRect& ourClipRect, KDChartTableDataBase* data, KDChartDataRegionList* regions, const KDChartAxisParams* axisPara, @@ -73,10 +73,10 @@ class KDChartBarPainter : public KDChartAxesPainter, public Qt double xpos, double valueBlockGap, double datasetGap, double frontBarWidth, int& frontX1, int& frontX2, int& previousFrontX2 ); private: - void initMyPainter( QPainter* painter ); + void initMyPainter( TQPainter* painter ); void shiftMyPainter( double dx, double dy ); void shiftMyPainterBack(); - QPainter* _myPainter; + TQPainter* _myPainter; double _painterDX; double _painterDY; bool _bThreeDBars; |