summaryrefslogtreecommitdiffstats
path: root/kmid/klcdnumber.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmid/klcdnumber.cpp')
-rw-r--r--kmid/klcdnumber.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kmid/klcdnumber.cpp b/kmid/klcdnumber.cpp
index 014188cc..21bdbbd5 100644
--- a/kmid/klcdnumber.cpp
+++ b/kmid/klcdnumber.cpp
@@ -28,8 +28,8 @@
#define BUTTONWIDTH 9
-KLCDNumber::KLCDNumber(int _numDigits,TQWidget *parent,const char *name)
- : TQWidget(parent,name)
+KLCDNumber::KLCDNumber(int _numDigits,TQWidget *tqparent,const char *name)
+ : TQWidget(tqparent,name)
{
initDigits();
setUserChangeValue=false;
@@ -47,8 +47,8 @@ KLCDNumber::KLCDNumber(int _numDigits,TQWidget *parent,const char *name)
setLCDColor(100,255,100);
}
-KLCDNumber::KLCDNumber(bool _setUserChangeValue,int _numDigits,TQWidget *parent,const char *name)
- : TQWidget(parent,name)
+KLCDNumber::KLCDNumber(bool _setUserChangeValue,int _numDigits,TQWidget *tqparent,const char *name)
+ : TQWidget(tqparent,name)
{
initDigits();
setUserChangeValue=_setUserChangeValue;
@@ -197,7 +197,7 @@ void KLCDNumber::setValue(double v)
void KLCDNumber::display (double v)
{
setValue(v);
- repaint(FALSE);
+ tqrepaint(FALSE);
}
void KLCDNumber::display (int v)
@@ -299,7 +299,7 @@ void KLCDNumber::mousePressEvent (TQMouseEvent *e)
void KLCDNumber::timerEvent(TQTimerEvent *)
{
- killTimers();
+ TQT_TQOBJECT(this)->killTimers();
doubleclicked=false;
}
@@ -317,13 +317,13 @@ void KLCDNumber::defaultValueClicked()
void KLCDNumber::setLCDBackgroundColor(int r,int g,int b)
{
backgcolor=TQColor(r,g,b);
- repaint(FALSE);
+ tqrepaint(FALSE);
}
void KLCDNumber::setLCDColor(int r,int g,int b)
{
LCDcolor=TQColor(r,g,b);
- repaint(FALSE);
+ tqrepaint(FALSE);
}
void KLCDNumber::setRange(double min, double max)
@@ -332,7 +332,7 @@ void KLCDNumber::setRange(double min, double max)
maxValue=max;
}
-TQSize KLCDNumber::sizeHint()
+TQSize KLCDNumber::tqsizeHint()
{
return TQSize(83,28);
}