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/KDChartPiePainter.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/KDChartPiePainter.h')
-rw-r--r-- | libkdchart/KDChartPiePainter.h | 24 |
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 } |