diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kchart/kdchart/KDChartBarPainter.h | |
parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
download | koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip |
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kchart/kdchart/KDChartBarPainter.h')
-rw-r--r-- | kchart/kdchart/KDChartBarPainter.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kchart/kdchart/KDChartBarPainter.h b/kchart/kdchart/KDChartBarPainter.h index 10b0e05e..fc57320d 100644 --- a/kchart/kdchart/KDChartBarPainter.h +++ b/kchart/kdchart/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; |