summaryrefslogtreecommitdiffstats
path: root/kodo/kimagenumber.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 10:00:14 -0600
committerTimothy Pearson <[email protected]>2011-12-16 10:00:14 -0600
commit4d75f93557ba631d97a56e288a34ca27f4507653 (patch)
tree9c6aa673bd4900debf335044852a99b4d9f67133 /kodo/kimagenumber.cpp
parent6cdf35ab11c322f33feca5baf090ef56068b6049 (diff)
downloadtdetoys-4d75f93557ba631d97a56e288a34ca27f4507653.tar.gz
tdetoys-4d75f93557ba631d97a56e288a34ca27f4507653.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 6cdf35ab11c322f33feca5baf090ef56068b6049.
Diffstat (limited to 'kodo/kimagenumber.cpp')
-rw-r--r--kodo/kimagenumber.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kodo/kimagenumber.cpp b/kodo/kimagenumber.cpp
index b01c4b6..911f718 100644
--- a/kodo/kimagenumber.cpp
+++ b/kodo/kimagenumber.cpp
@@ -30,7 +30,7 @@ KImageNumber::KImageNumber(const TQString& font, TQWidget* parent,const char* na
m_value(0)
{
fontPix = new TQPixmap(font);
- resize(sizeHint());
+ resize(tqsizeHint());
}
KImageNumber::~KImageNumber()
@@ -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.at(i).latin1() - '0';
+ int wl = data.tqat(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;
- repaint(false);
+ tqrepaint(false);
}
double KImageNumber::value() const
@@ -65,7 +65,7 @@ double KImageNumber::value() const
return m_value;
}
-TQSize KImageNumber::sizeHint() const
+TQSize KImageNumber::tqsizeHint() const
{
int w = fontPix->width();
int each = w/11;