summaryrefslogtreecommitdiffstats
path: root/plugins/infowidget/floatspinbox.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-08 13:26:10 +0900
committerMichele Calgaro <[email protected]>2023-12-08 13:26:10 +0900
commit09d3e49e01a4b798762fd505810b092fd0c77b47 (patch)
tree56d2e1c8be467325fab0b9977628ab1384d3e9a4 /plugins/infowidget/floatspinbox.cpp
parent79e900a6893237b41b0d53a548c03e0f247e806d (diff)
downloadktorrent-09d3e49e01a4b798762fd505810b092fd0c77b47.tar.gz
ktorrent-09d3e49e01a4b798762fd505810b092fd0c77b47.zip
Remove various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'plugins/infowidget/floatspinbox.cpp')
-rw-r--r--plugins/infowidget/floatspinbox.cpp6
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 ));
}