diff options
Diffstat (limited to 'kchart/kdchart/KDChartPiePainter.h')
-rw-r--r-- | kchart/kdchart/KDChartPiePainter.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kchart/kdchart/KDChartPiePainter.h b/kchart/kdchart/KDChartPiePainter.h index 047aa334..8d86a00d 100644 --- a/kchart/kdchart/KDChartPiePainter.h +++ b/kchart/kdchart/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 } |