summaryrefslogtreecommitdiffstats
path: root/src/svnfrontend/opencontextmenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/svnfrontend/opencontextmenu.cpp')
-rw-r--r--src/svnfrontend/opencontextmenu.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/svnfrontend/opencontextmenu.cpp b/src/svnfrontend/opencontextmenu.cpp
index aa9d090..b30956e 100644
--- a/src/svnfrontend/opencontextmenu.cpp
+++ b/src/svnfrontend/opencontextmenu.cpp
@@ -47,7 +47,7 @@ void OpenContextmenu::setup()
TQString actionName( (*it)->name().replace("&", "&&") );
act = new TDEAction( actionName, (*it)->pixmap( TDEIcon::Small ), 0,
- TQT_TQOBJECT(this), TQT_SLOT( slotRunService() ), TQT_TQOBJECT(this), nam.prepend( "appservice_" ) );
+ this, TQ_SLOT( slotRunService() ), this, nam.prepend( "appservice_" ) );
act->plug(this);
m_mapPopup[ id++ ] = *it;
}
@@ -55,13 +55,13 @@ void OpenContextmenu::setup()
insertSeparator( );
}
act = new TDEAction(i18n("Other..."),0, 0,
- TQT_TQOBJECT(this), TQT_SLOT( slotOpenWith() ),TQT_TQOBJECT(this),"openwith");
+ this, TQ_SLOT( slotOpenWith() ),this,"openwith");
act->plug(this);
}
void OpenContextmenu::slotRunService()
{
- TQCString senderName = TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))->name();
+ TQCString senderName = sender()->name();
int id = senderName.mid( senderName.find( '_' ) + 1 ).toInt();
TQMap<int,KService::Ptr>::Iterator it = m_mapPopup.find( id );