summaryrefslogtreecommitdiffstats
path: root/libkdchart/KDChartPiePainter.h
diff options
context:
space:
mode:
Diffstat (limited to 'libkdchart/KDChartPiePainter.h')
-rw-r--r--libkdchart/KDChartPiePainter.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/libkdchart/KDChartPiePainter.h b/libkdchart/KDChartPiePainter.h
index 047aa33..8d86a00 100644
--- a/libkdchart/KDChartPiePainter.h
+++ b/libkdchart/KDChartPiePainter.h
@@ -41,41 +41,41 @@ class KDChartPiePainter : public KDChartPainter
KDChartPiePainter( KDChartParams* params );
virtual ~KDChartPiePainter();
- virtual void paintData( QPainter* painter,
+ virtual void paintData( TQPainter* painter,
KDChartTableDataBase* data,
bool paint2nd,
KDChartDataRegionList* regions = 0 );
- virtual void drawOnePie( QPainter* painter,
+ virtual void drawOnePie( TQPainter* painter,
KDChartTableDataBase* data,
uint dataset, uint pie, uint chart,
uint threeDPieHeight,
KDChartDataRegionList* regions = 0 );
- virtual void draw3DEffect( QPainter* painter, const QRect& drawPosition,
+ virtual void draw3DEffect( TQPainter* painter, const TQRect& drawPosition,
uint dataset, uint pie, uint chart,
uint threeDPieHeight,
bool explode,
- QRegion* region = 0 );
- void drawStraightEffectSegment( QPainter* painter, const QRect& rect,
+ TQRegion* region = 0 );
+ void drawStraightEffectSegment( TQPainter* painter, const TQRect& rect,
uint dataset, uint pie, uint chart,
int threeDHeight, int angle,
- QRegion* region = 0 );
- void drawArcEffectSegment( QPainter* painter, const QRect& rect,
+ TQRegion* region = 0 );
+ void drawArcEffectSegment( TQPainter* painter, const TQRect& rect,
uint dataset, uint pie, uint chart,
int threeDHeight, int startAngle,
int endAngle,
- QRegion* region = 0 );
+ TQRegion* region = 0 );
- virtual QString fallbackLegendText( uint dataset ) const;
+ virtual TQString fallbackLegendText( uint dataset ) const;
virtual uint numLegendFallbackTexts( KDChartTableDataBase* data ) const;
uint findPieAt( int angle );
uint findLeftPie( uint pie );
uint findRightPie( uint pie );
- QMemArray < int > _startAngles;
- QMemArray < int > _angleLens;
+ TQMemArray < int > _startAngles;
+ TQMemArray < int > _angleLens;
- QRect _position;
+ TQRect _position;
int _size;
int _numValues; // PENDING(kalle) Move to base class
}