diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 93f9fda465964160b66d9252d2cf9b4c284eab50 (patch) | |
tree | 51575108fadbf39900f2168fc504ad66b59906c3 /src/svnfrontend/opencontextmenu.cpp | |
parent | 4be907152dfb5461311d9db1d63120c28a0bad0a (diff) | |
download | tdesvn-93f9fda465964160b66d9252d2cf9b4c284eab50.tar.gz tdesvn-93f9fda465964160b66d9252d2cf9b4c284eab50.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kdesvn@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/svnfrontend/opencontextmenu.cpp')
-rw-r--r-- | src/svnfrontend/opencontextmenu.cpp | 6 |
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 ); |