diff options
Diffstat (limited to 'src/common/global')
-rw-r--r-- | src/common/global/purl.cpp | 8 |
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; |