diff options
author | Michele Calgaro <[email protected]> | 2023-12-08 13:26:10 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-09 15:44:48 +0900 |
commit | 4caf6f3c92ecc2c41a5a1fe425d4eecc35cfe0e9 (patch) | |
tree | 23409b8378acc2b35e03962ac41f4d6f145a01ae /plugins/infowidget/floatspinbox.cpp | |
parent | 29628defddf2b42dd66059850b8a0111ec8f3747 (diff) | |
download | ktorrent-4caf6f3c92ecc2c41a5a1fe425d4eecc35cfe0e9.tar.gz ktorrent-4caf6f3c92ecc2c41a5a1fe425d4eecc35cfe0e9.zip |
Remove various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 09d3e49e01a4b798762fd505810b092fd0c77b47)
Diffstat (limited to 'plugins/infowidget/floatspinbox.cpp')
-rw-r--r-- | plugins/infowidget/floatspinbox.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/infowidget/floatspinbox.cpp b/plugins/infowidget/floatspinbox.cpp index 111070b..ed435ed 100644 --- a/plugins/infowidget/floatspinbox.cpp +++ b/plugins/infowidget/floatspinbox.cpp @@ -42,7 +42,7 @@ kt::FloatSpinBox::FloatSpinBox( TQSpinBox::setValue(0); setStep( 0.25f ); connect(this, TQT_SIGNAL(valueChanged ( int )), this, TQT_SLOT(internalValueChanged( int ))); - setValidator( new LocaleFloatValidator( TQT_TQOBJECT(dynamic_cast<TQSpinBox * > (this)) )); + setValidator( new LocaleFloatValidator( dynamic_cast<TQSpinBox * > (this) )); editor()->setAlignment(TQt::AlignRight); } @@ -62,7 +62,7 @@ kt::FloatSpinBox::FloatSpinBox( TQSpinBox::setValue(0); setStep( 0.25 ); connect(this, TQT_SIGNAL(valueChanged ( int )), this, TQT_SLOT(internalValueChanged( int ))); - setValidator( new LocaleFloatValidator( TQT_TQOBJECT(dynamic_cast<TQSpinBox * > (this)) )); + setValidator( new LocaleFloatValidator( dynamic_cast<TQSpinBox * > (this) )); } @@ -86,7 +86,7 @@ kt::FloatSpinBox::FloatSpinBox( setValue(0.0f); setStep( step ); connect(this, TQT_SIGNAL(valueChanged ( int )), this, TQT_SLOT(internalValueChanged( int ))); - setValidator( new LocaleFloatValidator( TQT_TQOBJECT(this) )); + setValidator( new LocaleFloatValidator( this )); } |