diff options
Diffstat (limited to 'tdescreensaver/kxsconfig/kxscontrol.cpp')
-rw-r--r-- | tdescreensaver/kxsconfig/kxscontrol.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tdescreensaver/kxsconfig/kxscontrol.cpp b/tdescreensaver/kxsconfig/kxscontrol.cpp index c1e8ad46..26e7ad6f 100644 --- a/tdescreensaver/kxsconfig/kxscontrol.cpp +++ b/tdescreensaver/kxsconfig/kxscontrol.cpp @@ -39,7 +39,7 @@ KXSRangeControl::KXSRangeControl(TQWidget *parent, const TQString &name, TQVBoxLayout *l = new TQVBoxLayout(this); TQLabel *label = new TQLabel(mLabel, this); l->add(label); - mSlider = new TQSlider(mMinimum, mMaximum, 10, mValue, Qt::Horizontal, this); + mSlider = new TQSlider(mMinimum, mMaximum, 10, mValue, TQt::Horizontal, this); connect(mSlider, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotValueChanged(int))); l->add(mSlider); } @@ -71,7 +71,7 @@ KXSRangeControl::KXSRangeControl(TQWidget *parent, const TQString &name, TQLabel *l = new TQLabel(i18n(lowLabel.utf8()), this); hb->addWidget(l); } - mSlider = new TQSlider(mMinimum, mMaximum, 10, mValue, Qt::Horizontal, this); + mSlider = new TQSlider(mMinimum, mMaximum, 10, mValue, TQt::Horizontal, this); connect(mSlider, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotValueChanged(int))); hb->add(mSlider); if (!highLabel.isEmpty()){ @@ -107,7 +107,7 @@ KXSDoubleRangeControl::KXSDoubleRangeControl(TQWidget *parent, int value = int((mValue - mMinimum) * 100 / (mMaximum - mMinimum)); - mSlider = new TQSlider(0, 100, 10, value, Qt::Horizontal, this); + mSlider = new TQSlider(0, 100, 10, value, TQt::Horizontal, this); connect(mSlider, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotValueChanged(int))); l->add(mSlider); } @@ -129,7 +129,7 @@ KXSDoubleRangeControl::KXSDoubleRangeControl(TQWidget *parent, hb->addWidget(l); } int value = int((mValue - mMinimum) * 100 / (mMaximum - mMinimum)); - mSlider = new TQSlider(0, 100, 10, value, Qt::Horizontal, this); + mSlider = new TQSlider(0, 100, 10, value, TQt::Horizontal, this); connect(mSlider, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotValueChanged(int))); hb->add(mSlider); if (!highLabel.isEmpty()){ |