summaryrefslogtreecommitdiffstats
path: root/tdeui/knuminput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/knuminput.cpp')
-rw-r--r--tdeui/knuminput.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/tdeui/knuminput.cpp b/tdeui/knuminput.cpp
index fbbf4dd9a..0820fd29b 100644
--- a/tdeui/knuminput.cpp
+++ b/tdeui/knuminput.cpp
@@ -298,9 +298,9 @@ void KIntNumInput::init(int val, int _base)
if (_base != 10)
m_spin->setValidator(new KIntValidator(this, _base, "KNumInput::KIntValidtr"));
- connect(m_spin, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(spinValueChanged(int)));
- connect(this, TQT_SIGNAL(valueChanged(int)),
- TQT_SLOT(slotEmitRelativeValueChanged(int)));
+ connect(m_spin, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(spinValueChanged(int)));
+ connect(this, TQ_SIGNAL(valueChanged(int)),
+ TQ_SLOT(slotEmitRelativeValueChanged(int)));
setFocusProxy(m_spin);
layout(true);
@@ -346,8 +346,8 @@ void KIntNumInput::setRange(int lower, int upper, int step, bool slider)
m_slider = new TQSlider(lower, upper, step, m_spin->value(),
TQt::Horizontal, this);
m_slider->setTickmarks(TQSlider::Below);
- connect(m_slider, TQT_SIGNAL(valueChanged(int)),
- m_spin, TQT_SLOT(setValue(int)));
+ connect(m_slider, TQ_SIGNAL(valueChanged(int)),
+ m_spin, TQ_SLOT(setValue(int)));
}
// calculate (upper-lower)/10 without overflowing int's:
@@ -616,10 +616,10 @@ void KDoubleNumInput::init(double value, double lower, double upper,
d->spin = new KDoubleSpinBox( lower, upper, step, value, precision,
this, "KDoubleNumInput::d->spin" );
setFocusProxy(d->spin);
- connect( d->spin, TQT_SIGNAL(valueChanged(double)),
- this, TQT_SIGNAL(valueChanged(double)) );
- connect( this, TQT_SIGNAL(valueChanged(double)),
- this, TQT_SLOT(slotEmitRelativeValueChanged(double)) );
+ connect( d->spin, TQ_SIGNAL(valueChanged(double)),
+ this, TQ_SIGNAL(valueChanged(double)) );
+ connect( this, TQ_SIGNAL(valueChanged(double)),
+ this, TQ_SLOT(slotEmitRelativeValueChanged(double)) );
updateLegacyMembers();
@@ -754,8 +754,8 @@ void KDoubleNumInput::setRange(double lower, double upper, double step,
if( m_slider ) {
// don't update the slider to avoid an endless recursion
TQSpinBox * spin = d->spin;
- disconnect(spin, TQT_SIGNAL(valueChanged(int)),
- m_slider, TQT_SLOT(setValue(int)) );
+ disconnect(spin, TQ_SIGNAL(valueChanged(int)),
+ m_slider, TQ_SLOT(setValue(int)) );
}
d->spin->setRange( lower, upper, step, d->spin->precision() );
@@ -774,11 +774,11 @@ void KDoubleNumInput::setRange(double lower, double upper, double step,
TQt::Horizontal, this);
m_slider->setTickmarks(TQSlider::Below);
// feedback line: when one moves, the other moves, too:
- connect(m_slider, TQT_SIGNAL(valueChanged(int)),
- TQT_SLOT(sliderMoved(int)) );
+ connect(m_slider, TQ_SIGNAL(valueChanged(int)),
+ TQ_SLOT(sliderMoved(int)) );
}
- connect(spin, TQT_SIGNAL(valueChanged(int)),
- m_slider, TQT_SLOT(setValue(int)) );
+ connect(spin, TQ_SIGNAL(valueChanged(int)),
+ m_slider, TQ_SLOT(setValue(int)) );
// calculate ( slmax - slmin ) / 10 without overflowing ints:
int major = calcDiffByTen( slmax, slmin );
if ( !major ) major = slstep; // ### needed?
@@ -1014,7 +1014,7 @@ KDoubleSpinBox::KDoubleSpinBox( TQWidget * parent, const char * name )
editor()->setAlignment( TQt::AlignRight );
d = new Private();
updateValidator();
- connect( this, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotValueChanged(int)) );
+ connect( this, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotValueChanged(int)) );
}
KDoubleSpinBox::KDoubleSpinBox( double lower, double upper, double step,
@@ -1026,7 +1026,7 @@ KDoubleSpinBox::KDoubleSpinBox( double lower, double upper, double step,
d = new Private();
setRange( lower, upper, step, precision );
setValue( value );
- connect( this, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotValueChanged(int)) );
+ connect( this, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotValueChanged(int)) );
}
KDoubleSpinBox::~KDoubleSpinBox() {