diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/infowidget/floatspinbox.cpp | 6 | ||||
-rw-r--r-- | plugins/search/searchplugin.cpp | 2 |
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); |