diff options
Diffstat (limited to 'kexi/plugins/scripting/kexidb/kexidbschema.cpp')
-rw-r--r-- | kexi/plugins/scripting/kexidb/kexidbschema.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kexi/plugins/scripting/kexidb/kexidbschema.cpp b/kexi/plugins/scripting/kexidb/kexidbschema.cpp index aebcbd7e..2ac40342 100644 --- a/kexi/plugins/scripting/kexidb/kexidbschema.cpp +++ b/kexi/plugins/scripting/kexidb/kexidbschema.cpp @@ -154,20 +154,20 @@ bool KexiDBQuerySchema::setWhereExpression(const TQString& whereexpression) { TQRegExp re("[\"',]{1,1}"); while(true) { s.remove(TQRegExp("^[\\s,]+")); - int pos = s.tqfind('='); + int pos = s.find('='); if(pos < 0) break; TQString key = s.left(pos).stripWhiteSpace(); s = s.mid(pos + 1).stripWhiteSpace(); TQString value; - int sp = s.tqfind(re); + int sp = s.find(re); if(sp >= 0) { if(re.cap(0) == ",") { value = s.left(sp).stripWhiteSpace(); s = s.mid(sp+1).stripWhiteSpace(); } else { - int ep = s.tqfind(re.cap(0),sp+1); + int ep = s.find(re.cap(0),sp+1); value = s.mid(sp+1,ep-1); s = s.mid(ep + 1); } |