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 857f02c..039e1b8 100644
--- a/src/svnfrontend/opencontextmenu.cpp
+++ b/src/svnfrontend/opencontextmenu.cpp
@@ -45,7 +45,7 @@ void OpenContextmenu::setup()
TQCString nam;
nam.setNum( id );
- TQString actionName( (*it)->name().tqreplace("&", "&&") );
+ TQString actionName( (*it)->name().replace("&", "&&") );
act = new KAction( actionName, (*it)->pixmap( KIcon::Small ), 0,
TQT_TQOBJECT(this), TQT_SLOT( slotRunService() ), TQT_TQOBJECT(this), nam.prepend( "appservice_" ) );
act->plug(this);
@@ -62,9 +62,9 @@ void OpenContextmenu::setup()
void OpenContextmenu::slotRunService()
{
TQCString senderName = TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))->name();
- int id = senderName.mid( senderName.tqfind( '_' ) + 1 ).toInt();
+ int id = senderName.mid( senderName.find( '_' ) + 1 ).toInt();
- TQMap<int,KService::Ptr>::Iterator it = m_mapPopup.tqfind( id );
+ TQMap<int,KService::Ptr>::Iterator it = m_mapPopup.find( id );
if ( it != m_mapPopup.end() )
{
KRun::run( **it, m_Path );