summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/alarm/kpercentspinbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'noatun-plugins/alarm/kpercentspinbox.cpp')
-rw-r--r--noatun-plugins/alarm/kpercentspinbox.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/noatun-plugins/alarm/kpercentspinbox.cpp b/noatun-plugins/alarm/kpercentspinbox.cpp
index 32b5820..3b16c97 100644
--- a/noatun-plugins/alarm/kpercentspinbox.cpp
+++ b/noatun-plugins/alarm/kpercentspinbox.cpp
@@ -16,20 +16,20 @@
#include "kpercentspinbox.h"
-KPercentSpinBox::KPercentSpinBox(int _step, QWidget *_parent, const char *_name)
- : QSpinBox(0, 100, _step, _parent, _name)
+KPercentSpinBox::KPercentSpinBox(int _step, TQWidget *_parent, const char *_name)
+ : TQSpinBox(0, 100, _step, _parent, _name)
{
setButtonSymbols(PlusMinus);
}
-QString KPercentSpinBox::mapValueToText(int v)
+TQString KPercentSpinBox::mapValueToText(int v)
{
- return QString::number(v)+'%';
+ return TQString::number(v)+'%';
}
#if 0
int KPercentSpinBox::mapTextToValue(bool *ok)
{
- QString mapText= text();
+ TQString mapText= text();
// mapText.truncate(mapText.length()-1);
return mapText.toInt(ok);