summaryrefslogtreecommitdiffstats
path: root/arts/gui/kde/kspinbox_impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'arts/gui/kde/kspinbox_impl.cpp')
-rw-r--r--arts/gui/kde/kspinbox_impl.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/arts/gui/kde/kspinbox_impl.cpp b/arts/gui/kde/kspinbox_impl.cpp
index cd8c90c5..db40ae10 100644
--- a/arts/gui/kde/kspinbox_impl.cpp
+++ b/arts/gui/kde/kspinbox_impl.cpp
@@ -29,10 +29,10 @@
using namespace Arts;
using namespace std;
-SpinBoxIntMapper::SpinBoxIntMapper(KSpinBox_impl *impl, QSpinBox *sp)
+SpinBoxIntMapper::SpinBoxIntMapper(KSpinBox_impl *impl, TQSpinBox *sp)
:impl(impl)
{
- connect(sp, SIGNAL(valueChanged(int)), this, SLOT(valueChanged(int)));
+ connect(sp, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(valueChanged(int)));
}
void SpinBoxIntMapper::valueChanged(int pos)
@@ -40,11 +40,11 @@ void SpinBoxIntMapper::valueChanged(int pos)
impl->valueChanged(pos);
}
-KSpinBox_impl::KSpinBox_impl( QSpinBox * widget )
- : KWidget_impl( widget ? widget : new QSpinBox )
+KSpinBox_impl::KSpinBox_impl( TQSpinBox * widget )
+ : KWidget_impl( widget ? widget : new TQSpinBox )
{
_min = 0; _max = 100; _value = 0;
- _qspinbox = static_cast<QSpinBox*>( _qwidget );
+ _qspinbox = static_cast<TQSpinBox*>( _qwidget );
_qspinbox->setRange( 0, 100 );
( void )new SpinBoxIntMapper( this, _qspinbox );
}
@@ -56,7 +56,7 @@ string KSpinBox_impl::caption()
void KSpinBox_impl::caption(const string& newCaption)
{
- _caption = QString::fromUtf8(newCaption.c_str());
+ _caption = TQString::fromUtf8(newCaption.c_str());
// FIXME: do something with the caption here
}