summaryrefslogtreecommitdiffstats
path: root/kodo/kimagenumber.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:59:40 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-04 02:12:12 +0200
commit82719e3d3766b49e507b4d0811133884f27c898e (patch)
treec1eba6519790b4194cc93b114b0f1d3947fe6a36 /kodo/kimagenumber.cpp
parentb4dcf7866a6902adf76c3837f65395a37973a681 (diff)
downloadtdetoys-82719e3d3766b49e507b4d0811133884f27c898e.tar.gz
tdetoys-82719e3d3766b49e507b4d0811133884f27c898e.zip
Remove additional unneeded tq method conversions
(cherry picked from commit 59a076e9336f1eebda8650437e6bc61077be1516)
Diffstat (limited to 'kodo/kimagenumber.cpp')
-rw-r--r--kodo/kimagenumber.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kodo/kimagenumber.cpp b/kodo/kimagenumber.cpp
index 86a44ba..b01c4b6 100644
--- a/kodo/kimagenumber.cpp
+++ b/kodo/kimagenumber.cpp
@@ -47,7 +47,7 @@ void KImageNumber::paintEvent(TQPaintEvent*)
data.sprintf("%06.1f", m_value);
for(unsigned int i=0; i < data.length(); i++) {
- int wl = data.tqat(i).latin1() - '0';
+ int wl = data.at(i).latin1() - '0';
if(data.at(i) == '.')
wl = 10;
bitBlt(this, i*each, 0, fontPix, wl*each, 0, each, fontPix->height());
@@ -57,7 +57,7 @@ void KImageNumber::paintEvent(TQPaintEvent*)
void KImageNumber::setValue(double v)
{
m_value = v;
- tqrepaint(false);
+ repaint(false);
}
double KImageNumber::value() const