summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/alarm/kpercentspinbox.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:22:56 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:22:56 +0000
commit7346aee26bf190a7e70333c40fab4caca847cd27 (patch)
tree4b019b434f88dcc3eeaafe1d3f26240b4c4718e8 /noatun-plugins/alarm/kpercentspinbox.cpp
parent23a3d3aa5b44cbdf305495919866d9dbf4f6da54 (diff)
downloadtdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.tar.gz
tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1157634 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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);