summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-08 13:26:10 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-08 13:26:10 +0900
commit09d3e49e01a4b798762fd505810b092fd0c77b47 (patch)
tree56d2e1c8be467325fab0b9977628ab1384d3e9a4 /plugins
parent79e900a6893237b41b0d53a548c03e0f247e806d (diff)
downloadktorrent-09d3e49e01a4b798762fd505810b092fd0c77b47.tar.gz
ktorrent-09d3e49e01a4b798762fd505810b092fd0c77b47.zip
Remove various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/infowidget/floatspinbox.cpp6
-rw-r--r--plugins/search/searchplugin.cpp2
2 files changed, 4 insertions, 4 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 ));
}
diff --git a/plugins/search/searchplugin.cpp b/plugins/search/searchplugin.cpp
index e1126f5..a45e474 100644
--- a/plugins/search/searchplugin.cpp
+++ b/plugins/search/searchplugin.cpp
@@ -118,7 +118,7 @@ namespace kt
SearchWidget* search = new SearchWidget(this);
getGUI()->addTabPage(search,iload->loadIconSet("viewmag", TDEIcon::Small),text,this);
- TDEAction* copy_act = KStdAction::copy(TQT_TQOBJECT(search),TQT_SLOT(copy()),actionCollection());
+ TDEAction* copy_act = KStdAction::copy(search,TQT_SLOT(copy()),actionCollection());
copy_act->plug(search->rightClickMenu(),0);
searches.append(search);