diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kexi/kexidb/parser/parser.cpp | |
parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
download | koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip |
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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; |