summaryrefslogtreecommitdiffstats
path: root/kchart/kdchart/KDChartPiePainter.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kchart/kdchart/KDChartPiePainter.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-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/KDChartPiePainter.h')
-rw-r--r--kchart/kdchart/KDChartPiePainter.h24
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
}