summaryrefslogtreecommitdiffstats
path: root/libkdchart/KDChartBarPainter.h
diff options
context:
space:
mode:
Diffstat (limited to 'libkdchart/KDChartBarPainter.h')
-rw-r--r--libkdchart/KDChartBarPainter.h14
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;