summaryrefslogtreecommitdiffstats
path: root/ktouch/src/ktouchchartwidget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
commit0a6e0958c03e41c87b15557b6f407874f20c2f8d (patch)
tree2cdd58c4013b1be09cfcbb4ddae2b05712b9aeee /ktouch/src/ktouchchartwidget.cpp
parent83f9dfafc157ff7823804b3ff457b43d021a5b4b (diff)
downloadtdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.tar.gz
tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ktouch/src/ktouchchartwidget.cpp')
-rw-r--r--ktouch/src/ktouchchartwidget.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ktouch/src/ktouchchartwidget.cpp b/ktouch/src/ktouchchartwidget.cpp
index aba87f28..43e3642a 100644
--- a/ktouch/src/ktouchchartwidget.cpp
+++ b/ktouch/src/ktouchchartwidget.cpp
@@ -13,19 +13,19 @@
#include "ktouchchartwidget.h"
#include "ktouchchartwidget.moc"
-#include <qpainter.h>
+#include <tqpainter.h>
#include <klocale.h>
#include <numeric> // for mathematical functions
#include <cmath>
-KTouchChartWidget::KTouchChartWidget(QWidget* parent, const char *name)
+KTouchChartWidget::KTouchChartWidget(TQWidget* parent, const char *name)
: KPlotWidget(0.0, 1.0, 0.0, 1.0, parent, name)
{
setShowGrid( false ); // no grid please
- setBGColor( QColor( "white" ) );
- setFGColor( QColor( "black" ) );
+ setBGColor( TQColor( "white" ) );
+ setFGColor( TQColor( "black" ) );
setLimits( 0.0, 120.0, 0.0, 240.0 );
setXAxisLabel( i18n( "Progress" ) );
setYAxisLabel( i18n( "Words per second" ) );