summaryrefslogtreecommitdiffstats
path: root/kexi/kexidb/parser/parser.h
diff options
context:
space:
mode:
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 ec2942e1f..c408dec5a 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