diff options
Diffstat (limited to 'kexi/kexidb/parser/parser.cpp')
-rw-r--r-- | kexi/kexidb/parser/parser.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kexi/kexidb/parser/parser.cpp b/kexi/kexidb/parser/parser.cpp index f64ec96d..eeb6e39d 100644 --- a/kexi/kexidb/parser/parser.cpp +++ b/kexi/kexidb/parser/parser.cpp @@ -41,7 +41,7 @@ Parser::~Parser() Parser::OPCode Parser::operation() const { return (OPCode)d->operation; } -QString +TQString Parser::operationString() const { switch((OPCode)d->operation) { @@ -72,7 +72,7 @@ Connection *Parser::db() const { return d->db; } ParserError Parser::error() const { return d->error; } -QString Parser::statement() const { return d->statement; } +TQString Parser::statement() const { return d->statement; } void Parser::setOperation(OPCode op) { d->operation = op; } @@ -109,11 +109,11 @@ void Parser::init() bool Parser::isReservedKeyword(const char *str) { - return d->reservedKeywords.find(str); + return d->reservedKeywords.tqfind(str); } bool -Parser::parse(const QString &statement) +Parser::parse(const TQString &statement) { init(); clear(); @@ -141,7 +141,7 @@ ParserError::ParserError() // m_isNull = true; } -ParserError::ParserError(const QString &type, const QString &error, const QString &hint, int at) +ParserError::ParserError(const TQString &type, const TQString &error, const TQString &hint, int at) { m_type = type; m_error = error; |