summaryrefslogtreecommitdiffstats
path: root/libkdchart/KDChartBWPainter.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-05 06:00:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-05 06:00:29 +0000
commitfecb0e67b23e8b83ba7fc881bb57bc48c0852d62 (patch)
tree6b8614802f0d01b353bc9ba78aff2090846c198e /libkdchart/KDChartBWPainter.h
parentdadc34655c3ab961b0b0b94a10eaaba710f0b5e8 (diff)
downloadkmymoney-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/KDChartBWPainter.h')
-rw-r--r--libkdchart/KDChartBWPainter.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libkdchart/KDChartBWPainter.h b/libkdchart/KDChartBWPainter.h
index 3dd9ad7..48963a3 100644
--- a/libkdchart/KDChartBWPainter.h
+++ b/libkdchart/KDChartBWPainter.h
@@ -33,11 +33,11 @@
#include <KDChartParams.h>
#include <KDChartTable.h>
-#include <qnamespace.h>
+#include <tqnamespace.h>
class KDChartParams;
-class KDChartBWPainter : public KDChartAxesPainter, public Qt
+class KDChartBWPainter : public KDChartAxesPainter, public TQt
{
friend class KDChartPainter;
protected:
@@ -46,8 +46,8 @@ class KDChartBWPainter : public KDChartAxesPainter, public Qt
virtual bool isNormalMode() const;
virtual int clipShiftUp( bool, double ) const;
- virtual void specificPaintData( QPainter* painter,
- const QRect& ourClipRect,
+ virtual void specificPaintData( TQPainter* painter,
+ const TQRect& ourClipRect,
KDChartTableDataBase* data,
KDChartDataRegionList* regions,
const KDChartAxisParams* axisPara,
@@ -65,7 +65,7 @@ class KDChartBWPainter : public KDChartAxesPainter, public Qt
uint datasetStart,
uint datasetEnd );
- virtual QString fallbackLegendText( uint dataset ) const;
+ virtual TQString fallbackLegendText( uint dataset ) const;
virtual uint numLegendFallbackTexts( KDChartTableDataBase* data ) const;
private:
int calculateStats( KDChartTableDataBase&, uint );// returns number of used cells containing a double