summaryrefslogtreecommitdiffstats
path: root/kmymoney2/reports/kreportchartview.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 /kmymoney2/reports/kreportchartview.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 'kmymoney2/reports/kreportchartview.h')
-rw-r--r--kmymoney2/reports/kreportchartview.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/kmymoney2/reports/kreportchartview.h b/kmymoney2/reports/kreportchartview.h
index a1bf786..d04e291 100644
--- a/kmymoney2/reports/kreportchartview.h
+++ b/kmymoney2/reports/kreportchartview.h
@@ -34,7 +34,7 @@
#undef new
#endif
-#include <qlabel.h>
+#include <tqlabel.h>
#include <KDChartWidget.h>
#include <KDChartTable.h>
#include <KDChartParams.h>
@@ -51,11 +51,11 @@ namespace reports {
class KReportChartView: public KDChartWidget
{
public:
- KReportChartView( QWidget* parent, const char* name );
+ KReportChartView( TQWidget* tqparent, const char* name );
~KReportChartView() {}
static bool implemented(void) { return true; }
void setNewData( const KDChartTableData& newdata ) { this->setData(new KDChartTableData(newdata)); }
- QStringList& abscissaNames(void) { return m_abscissaNames; }
+ TQStringList& abscissaNames(void) { return m_abscissaNames; }
void refreshLabels(void) { this->params()->setAxisLabelStringParams( KDChartAxisParams::AxisPosBottom,&m_abscissaNames,0); }
void setProperty(int row, int col, int id);
// void setCircularLabels(void) { this->params()->setAxisLabelStringParams( KDChartAxisParams::AxisPosCircular,&m_abscissaNames,0); }
@@ -64,14 +64,14 @@ public:
bool getAccountSeries(void) {return _accountSeries; }
protected:
- virtual void mouseMoveEvent( QMouseEvent* event );
+ virtual void mouseMoveEvent( TQMouseEvent* event );
private:
- QStringList m_abscissaNames;
+ TQStringList m_abscissaNames;
bool _accountSeries;
// label to display when hovering on a data region
- QLabel *label;
+ TQLabel *label;
};
} // end namespace reports
@@ -80,10 +80,10 @@ private:
namespace reports {
-class KReportChartView : public QWidget
+class KReportChartView : public TQWidget
{
public:
- KReportChartView( QWidget* parent, const char* name ): QWidget(parent,name) {}
+ KReportChartView( TQWidget* tqparent, const char* name ): TQWidget(tqparent,name) {}
~KReportChartView() {}
static bool implemented(void) { return false; }
};