summaryrefslogtreecommitdiffstats
path: root/src/svnqt/path.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/svnqt/path.cpp')
-rw-r--r--src/svnqt/path.cpp8
1 files changed, 4 insertions, 4 deletions
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)
{