summaryrefslogtreecommitdiffstats
path: root/kexi/kexidb/parser/parser.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kexi/kexidb/parser/parser.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-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.h')
-rw-r--r--kexi/kexidb/parser/parser.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/kexi/kexidb/parser/parser.h b/kexi/kexidb/parser/parser.h
index ec2942e1..c408dec5 100644
--- a/kexi/kexidb/parser/parser.h
+++ b/kexi/kexidb/parser/parser.h
@@ -21,9 +21,9 @@
#ifndef KEXIDBPARSER_H
#define KEXIDBPARSER_H
-#include <qobject.h>
-#include <qptrlist.h>
-#include <qvariant.h>
+#include <tqobject.h>
+#include <tqptrlist.h>
+#include <tqvariant.h>
#include <kexidb/field.h>
#include <kexidb/expression.h>
@@ -56,7 +56,7 @@ class KEXI_DB_EXPORT ParserError
* \param hint Token where the error happend.
* \param at The position where the error happend.
*/
- ParserError(const QString &type, const QString &error, const QString &hint, int at);
+ ParserError(const TQString &type, const TQString &error, const TQString &hint, int at);
/**
* Destructor.
@@ -66,12 +66,12 @@ class KEXI_DB_EXPORT ParserError
/**
* \return the errortype.
*/
- QString type() { return m_type; }
+ TQString type() { return m_type; }
/**
* \return a descriping error message.
*/
- QString error() { return m_error; }
+ TQString error() { return m_error; }
/**
* \return position where the error happend.
@@ -79,9 +79,9 @@ class KEXI_DB_EXPORT ParserError
int at() { return m_at; }
private:
- QString m_type;
- QString m_error;
- QString m_hint;
+ TQString m_type;
+ TQString m_error;
+ TQString m_hint;
int m_at;
// bool m_isNull;
};
@@ -138,7 +138,7 @@ class KEXI_DB_EXPORT Parser
/**
* clears previous results and runs the parser
*/
- bool parse(const QString &statement);
+ bool parse(const TQString &statement);
/**
* rests results
@@ -153,7 +153,7 @@ class KEXI_DB_EXPORT Parser
/**
* \return the resulting operation as string.
*/
- QString operationString() const;
+ TQString operationString() const;
/**
* \return a pointer to a KexiDBTable on CREATE TABLE
@@ -187,7 +187,7 @@ class KEXI_DB_EXPORT Parser
/**
* \return the statement passed on the last \a parse method-call.
*/
- QString statement() const;
+ TQString statement() const;
/**
* \internal