From 93f9fda465964160b66d9252d2cf9b4c284eab50 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: 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 --- src/svnqt/path.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/svnqt/path.cpp') diff --git a/src/svnqt/path.cpp b/src/svnqt/path.cpp index 71b877c..737d0ae 100644 --- a/src/svnqt/path.cpp +++ b/src/svnqt/path.cpp @@ -77,11 +77,11 @@ namespace svn } } m_path = TQString::FROMUTF8(int_path); - if (Url::isValid(path) && m_path.tqfind("@")!=-1 ) { + if (Url::isValid(path) && m_path.find("@")!=-1 ) { /// @todo make sure that "@" is never used as revision paramter TQUrl uri = m_path; m_path = uri.path(); - m_path.tqreplace("@","%40"); + m_path.replace("@","%40"); m_path = uri.protocol()+"://"+(uri.hasUser()?uri.user()+(uri.hasPassword()?":"+uri.password():"")+"@":"") +uri.host()+m_path; if (m_path.endsWith("/")) { @@ -116,7 +116,7 @@ namespace svn Pool pool; const char * int_path = svn_path_uri_decode(m_path.TOUTF8(), pool.pool () ); TQString _p = TQString::FROMUTF8(int_path); - _p.tqreplace("%40","@"); + _p.replace("%40","@"); return _p; } @@ -208,7 +208,7 @@ namespace svn split (dir, basename); // next search for last . - int pos = basename.tqfindRev(TQChar('.')); + int pos = basename.findRev(TQChar('.')); if (pos == -1) { -- cgit v1.2.1