summaryrefslogtreecommitdiffstats
path: root/kmid/qslidertime.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmid/qslidertime.cpp')
-rw-r--r--kmid/qslidertime.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kmid/qslidertime.cpp b/kmid/qslidertime.cpp
index 09975e25..e7313d22 100644
--- a/kmid/qslidertime.cpp
+++ b/kmid/qslidertime.cpp
@@ -28,8 +28,8 @@
#define ARROW_LENGTH 13
-QSliderTime::QSliderTime( TQSlider *ksl, TQWidget *parent, const char *name)
- : TQWidget (parent,name)
+QSliderTime::QSliderTime( TQSlider *ksl, TQWidget *tqparent, const char *name)
+ : TQWidget (tqparent,name)
{
kslider=ksl;
@@ -90,25 +90,25 @@ if (kslider==NULL) return;
int pos=0;
int deltapos=0;
formatMillisecs(0,tmp);
- painter->drawText( 0, posy,tmp);
+ painter->drawText( 0, posy,TQString(tmp));
for ( i = timestep; i <= maxV - timestep; i += timestep )
{
pos = (width()-10) * i / maxV + 5;
formatMillisecs(i,tmp);
deltapos=qfmt.width(tmp)/2;
- painter->drawText( pos-deltapos, posy,tmp);
+ painter->drawText( pos-deltapos, posy,TQString(tmp));
}
pos = width()- 5;
formatMillisecs(maxV,tmp);
deltapos=qfmt.width(tmp);
- painter->drawText( pos-deltapos, posy,tmp);
+ painter->drawText( pos-deltapos, posy,TQString(tmp));
}
-TQSize QSliderTime::sizeHint()
+TQSize QSliderTime::tqsizeHint()
{
return TQSize(10,fontheight+2);
}