summaryrefslogtreecommitdiffstats
path: root/src/common/global
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commitd98fea1f859d23e1b1220a65d7a8eda3b757fd08 (patch)
treea7e6a450baf5017f93f73636f9e8f9b5e9a56f05 /src/common/global
parent704123e8152edcd80447659317f1c8b31a1576e6 (diff)
downloadpiklab-d98fea1f859d23e1b1220a65d7a8eda3b757fd08.tar.gz
piklab-d98fea1f859d23e1b1220a65d7a8eda3b757fd08.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/piklab@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/common/global')
-rw-r--r--src/common/global/purl.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/global/purl.cpp b/src/common/global/purl.cpp
index 265d5a7..ab1f8da 100644
--- a/src/common/global/purl.cpp
+++ b/src/common/global/purl.cpp
@@ -53,7 +53,7 @@ private:
TQString PURL::Private::getWindowsDrivePath(char drive)
{
#if defined(Q_OS_UNIX)
- if ( !_winDrives.tqcontains(drive) ) {
+ if ( !_winDrives.contains(drive) ) {
TQStringList args;
args += "-u";
TQString s;
@@ -75,7 +75,7 @@ TQString PURL::Private::getWindowsDrivePath(char drive)
bool PURL::Private::checkCachedPath(TQString &filepath) const
{
- if ( !_winPaths.tqcontains(filepath) ) return false;
+ if ( !_winPaths.contains(filepath) ) return false;
filepath = _winPaths[filepath];
return true;
}
@@ -92,13 +92,13 @@ TQString PURL::Private::convertWindowsFilepath(const TQString &filepath)
if ( filepath[0]=='\\' ) {
TQString tmp = filepath;
if ( checkCachedPath(tmp) ) return tmp;
- return cachePath(filepath, convertWindowsShortFilepath(tmp.tqreplace('\\', "/")));
+ return cachePath(filepath, convertWindowsShortFilepath(tmp.replace('\\', "/")));
}
// appears to be a windows path with a drive
if ( (filepath.length()>=2 && filepath[0].isLetter() && filepath[1]==':') ) {
TQString tmp = filepath;
if ( checkCachedPath(tmp) ) return tmp;
- tmp = getWindowsDrivePath(filepath[0]) + tmp.mid(2).tqreplace('\\', "/");
+ tmp = getWindowsDrivePath(filepath[0]) + tmp.mid(2).replace('\\', "/");
return cachePath(filepath, convertWindowsShortFilepath(tmp));
}
return filepath;