summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/scripting/kexidb/kexidbparser.h
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/scripting/kexidb/kexidbparser.h')
-rw-r--r--kexi/plugins/scripting/kexidb/kexidbparser.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/kexi/plugins/scripting/kexidb/kexidbparser.h b/kexi/plugins/scripting/kexidb/kexidbparser.h
index 09ac22da..e09df068 100644
--- a/kexi/plugins/scripting/kexidb/kexidbparser.h
+++ b/kexi/plugins/scripting/kexidb/kexidbparser.h
@@ -20,7 +20,7 @@
#ifndef KROSS_KEXIDB_KEXIDBPARSER_H
#define KROSS_KEXIDB_KEXIDBPARSER_H
-#include <qstring.h>
+#include <tqstring.h>
#include <api/object.h>
#include <api/list.h>
@@ -57,16 +57,16 @@ namespace Kross { namespace KexiDB {
public:
KexiDBParser(KexiDBConnection* connection, ::KexiDB::Parser* parser);
virtual ~KexiDBParser();
- virtual const QString getClassName() const;
+ virtual const TQString getClassName() const;
private:
/** Clears previous results and runs the parser on the SQL statement passed as an argument. */
- bool parse(const QString& sql);
+ bool parse(const TQString& sql);
/** Clears parsing results. */
void clear();
/** Returns the resulting operation. */
- const QString operation();
+ const TQString operation();
/** Returns the KexiDBTableSchema object on a CREATE TABLE operation. */
KexiDBTableSchema* table();
@@ -75,12 +75,12 @@ namespace Kross { namespace KexiDB {
/** Returns the KexiDBConnection object pointing to the used database connection. */
KexiDBConnection* connection();
/** Returns the SQL query statement. */
- const QString statement();
+ const TQString statement();
/** Returns the type string of the last error. */
- const QString errorType();
+ const TQString errorType();
/** Returns the message of the last error. */
- const QString errorMsg();
+ const TQString errorMsg();
/** Returns the position where the last error occurred. */
int errorAt();