summaryrefslogtreecommitdiffstats
path: root/src/kvilib/file/kvi_fileutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kvilib/file/kvi_fileutils.cpp')
-rw-r--r--src/kvilib/file/kvi_fileutils.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/kvilib/file/kvi_fileutils.cpp b/src/kvilib/file/kvi_fileutils.cpp
index 1ad09d60..1668999d 100644
--- a/src/kvilib/file/kvi_fileutils.cpp
+++ b/src/kvilib/file/kvi_fileutils.cpp
@@ -108,7 +108,7 @@ namespace KviFileUtils
#ifdef COMPILE_USE_QT4
int idx = dir.indexOf(':');
#else
- int idx = dir.tqfind(':');
+ int idx = dir.find(':');
#endif
if(idx == 1)
{
@@ -212,20 +212,20 @@ namespace KviFileUtils
void adjustFilePath(TQString &szPath)
{
#ifdef COMPILE_ON_WINDOWS
- szPath.tqreplace('/',"\\");
+ szPath.replace('/',"\\");
#ifdef COMPILE_USE_QT4
- szPath.tqreplace("\\\\","\\");
+ szPath.replace("\\\\","\\");
#else
- while(szPath.tqfind("\\\\") != -1)szPath.tqreplace("\\\\","\\");
+ while(szPath.find("\\\\") != -1)szPath.replace("\\\\","\\");
#endif
// FIXME: Use the default drive here ?
if(szPath.startsWith("\\"))szPath.prepend("C:");
#else
- szPath.tqreplace('\\',"/");
+ szPath.replace('\\',"/");
#ifdef COMPILE_USE_QT4
- szPath.tqreplace("//","/");
+ szPath.replace("//","/");
#else
- while(KviTQString::tqfind(szPath,"//") != -1)szPath.tqreplace("//","/");
+ while(KviTQString::find(szPath,"//") != -1)szPath.replace("//","/");
#endif
// deal with windows paths
if((szPath.length() > 2) && (szPath.at(0) != TQChar('/')))