diff options
Diffstat (limited to 'kexi/kexidb/parser')
-rw-r--r-- | kexi/kexidb/parser/parser.cpp | 2 | ||||
-rw-r--r-- | kexi/kexidb/parser/parser_p.cpp | 4 | ||||
-rw-r--r-- | kexi/kexidb/parser/sqlparser.cpp | 2 | ||||
-rw-r--r-- | kexi/kexidb/parser/sqlparser.h | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/kexi/kexidb/parser/parser.cpp b/kexi/kexidb/parser/parser.cpp index eeb6e39d..2a9a0e4c 100644 --- a/kexi/kexidb/parser/parser.cpp +++ b/kexi/kexidb/parser/parser.cpp @@ -109,7 +109,7 @@ void Parser::init() bool Parser::isReservedKeyword(const char *str) { - return d->reservedKeywords.tqfind(str); + return d->reservedKeywords.find(str); } bool diff --git a/kexi/kexidb/parser/parser_p.cpp b/kexi/kexidb/parser/parser_p.cpp index f64696e8..7ed1a47b 100644 --- a/kexi/kexidb/parser/parser_p.cpp +++ b/kexi/kexidb/parser/parser_p.cpp @@ -202,7 +202,7 @@ bool parseData(Parser *p, const char *data) Field::ListIterator it = parser->select()->fieldsIterator(); for(Field *item; (item = it.current()); ++it) { - if(tableList.tqfindRef(item->table()) == -1) + if(tableList.findRef(item->table()) == -1) { ParserError err(i18n("Field List Error"), i18n("Unknown table '%1' in field list").tqarg(item->table()->name()), ctoken, current); parser->setError(err); @@ -263,7 +263,7 @@ bool addColumn( ParseInfo& parseInfo, BaseExpr* columnExpr ) #if 0 KexiDBDbg << "found variable name: " << varName << endl; - int dotPos = varName.tqfind('.'); + int dotPos = varName.find('.'); TQString tableName, fieldName; //TODO: shall we also support db name? if (dotPos>0) { diff --git a/kexi/kexidb/parser/sqlparser.cpp b/kexi/kexidb/parser/sqlparser.cpp index f4086b3b..57e386ee 100644 --- a/kexi/kexidb/parser/sqlparser.cpp +++ b/kexi/kexidb/parser/sqlparser.cpp @@ -20,7 +20,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -/* As a special exception, you may create a larger work that tqcontains +/* As a special exception, you may create a larger work that contains part or all of the Bison parser skeleton and distribute that work under terms of your choice, so long as that work isn't itself a parser generator using the skeleton or a modified version thereof diff --git a/kexi/kexidb/parser/sqlparser.h b/kexi/kexidb/parser/sqlparser.h index 6895e29f..6f2b6534 100644 --- a/kexi/kexidb/parser/sqlparser.h +++ b/kexi/kexidb/parser/sqlparser.h @@ -27,7 +27,7 @@ bool parseData(KexiDB::Parser *p, const char *data); Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -/* As a special exception, you may create a larger work that tqcontains +/* As a special exception, you may create a larger work that contains part or all of the Bison parser skeleton and distribute that work under terms of your choice, so long as that work isn't itself a parser generator using the skeleton or a modified version thereof |