summaryrefslogtreecommitdiffstats
path: root/kexi/kexiutils/identifier.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/kexiutils/identifier.cpp')
-rw-r--r--kexi/kexiutils/identifier.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kexi/kexiutils/identifier.cpp b/kexi/kexiutils/identifier.cpp
index e09df22a..46e62b7b 100644
--- a/kexi/kexiutils/identifier.cpp
+++ b/kexi/kexiutils/identifier.cpp
@@ -37,9 +37,9 @@ bool KexiUtils::isIdentifier(const TQString& s)
TQString KexiUtils::string2FileName(const TQString &s)
{
TQString fn( s.simplifyWhiteSpace() );
- fn.tqreplace(' ',"_"); fn.tqreplace('$',"_");
- fn.tqreplace('\\',"-"); fn.tqreplace('/',"-");
- fn.tqreplace(':',"-"); fn.tqreplace('*',"-");
+ fn.replace(' ',"_"); fn.replace('$',"_");
+ fn.replace('\\',"-"); fn.replace('/',"-");
+ fn.replace(':',"-"); fn.replace('*',"-");
return fn;
}
@@ -59,7 +59,7 @@ TQString KexiUtils::string2Identifier(const TQString &s)
if (id.isEmpty())
return TQString();
r.reserve(id.length());
- id.tqreplace(' ',"_");
+ id.replace(' ',"_");
TQChar c = id[0];
TQString add;
bool wasUnderscore = false;