summaryrefslogtreecommitdiffstats
path: root/kexi/kexidb/drivers/mySQL/mysqlconnection.h
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/kexidb/drivers/mySQL/mysqlconnection.h')
-rw-r--r--kexi/kexidb/drivers/mySQL/mysqlconnection.h27
1 files changed, 14 insertions, 13 deletions
diff --git a/kexi/kexidb/drivers/mySQL/mysqlconnection.h b/kexi/kexidb/drivers/mySQL/mysqlconnection.h
index bafb889de..e0fb4382c 100644
--- a/kexi/kexidb/drivers/mySQL/mysqlconnection.h
+++ b/kexi/kexidb/drivers/mySQL/mysqlconnection.h
@@ -22,11 +22,11 @@ the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
#ifndef MYSQLCONNECTION_H
#define MYSQLCONNECTION_H
-#include <qstringlist.h>
+#include <tqstringlist.h>
#include <kexidb/connection.h>
#include "mysqlcursor.h"
-#include <qdict.h>
+#include <tqdict.h>
namespace KexiDB {
@@ -40,11 +40,12 @@ class MySqlConnectionInternal;
class MySqlConnection : public Connection
{
Q_OBJECT
+ TQ_OBJECT
public:
virtual ~MySqlConnection();
- virtual Cursor* prepareQuery( const QString& statement = QString::null, uint cursor_options = 0 );
+ virtual Cursor* prepareQuery( const TQString& statement = TQString(), uint cursor_options = 0 );
virtual Cursor* prepareQuery( QuerySchema& query, uint cursor_options = 0 );
virtual PreparedStatement::Ptr prepareStatement(PreparedStatement::StatementType type,
@@ -57,24 +58,24 @@ class MySqlConnection : public Connection
virtual bool drv_connect(KexiDB::ServerVersionInfo& version);
virtual bool drv_disconnect();
- virtual bool drv_getDatabasesList( QStringList &list );
- virtual bool drv_createDatabase( const QString &dbName = QString::null );
- virtual bool drv_useDatabase( const QString &dbName = QString::null, bool *cancelled = 0,
+ virtual bool drv_getDatabasesList( TQStringList &list );
+ virtual bool drv_createDatabase( const TQString &dbName = TQString() );
+ virtual bool drv_useDatabase( const TQString &dbName = TQString(), bool *cancelled = 0,
MessageHandler* msgHandler = 0 );
virtual bool drv_closeDatabase();
- virtual bool drv_dropDatabase( const QString &dbName = QString::null );
- virtual bool drv_executeSQL( const QString& statement );
- virtual Q_ULLONG drv_lastInsertRowID();
+ virtual bool drv_dropDatabase( const TQString &dbName = TQString() );
+ virtual bool drv_executeSQL( const TQString& statement );
+ virtual TQ_ULLONG drv_lastInsertRowID();
virtual int serverResult();
- virtual QString serverResultName();
- virtual QString serverErrorMsg();
+ virtual TQString serverResultName();
+ virtual TQString serverErrorMsg();
virtual void drv_clearServerResult();
//TODO: move this somewhere to low level class (MIGRATION?)
- virtual bool drv_getTablesList( QStringList &list );
+ virtual bool drv_getTablesList( TQStringList &list );
//TODO: move this somewhere to low level class (MIGRATION?)
- virtual bool drv_containsTable( const QString &tableName );
+ virtual bool drv_containsTable( const TQString &tableName );
MySqlConnectionInternal* d;