summaryrefslogtreecommitdiffstats
path: root/krecipes/src/backends/MySQL/mysqlrecipedb.h
diff options
context:
space:
mode:
Diffstat (limited to 'krecipes/src/backends/MySQL/mysqlrecipedb.h')
-rw-r--r--krecipes/src/backends/MySQL/mysqlrecipedb.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/krecipes/src/backends/MySQL/mysqlrecipedb.h b/krecipes/src/backends/MySQL/mysqlrecipedb.h
index 01ac5a4..eafa56d 100644
--- a/krecipes/src/backends/MySQL/mysqlrecipedb.h
+++ b/krecipes/src/backends/MySQL/mysqlrecipedb.h
@@ -14,14 +14,14 @@
#ifndef MYSQLRECIPEDB_H
#define MYSQLRECIPEDB_H
-#define MYSQL_DRIVER "QMYSQL3"
+#define MYSQL_DRIVER "TQMYSQL3"
#include "qsqlrecipedb.h"
/**
@author Unai Garro
*/
-class MySQLRecipeDB : public QSqlRecipeDB
+class MySQLRecipeDB : public TQSqlRecipeDB
{
Q_OBJECT
@@ -30,24 +30,24 @@ private:
void createDB( void );
public:
- MySQLRecipeDB( const QString &host, const QString &user = QString::null, const QString &pass = QString::null, const QString &DBName = DEFAULT_DB_NAME, int port = 0 );
+ MySQLRecipeDB( const TQString &host, const TQString &user = TQString::null, const TQString &pass = TQString::null, const TQString &DBName = DEFAULT_DB_NAME, int port = 0 );
~MySQLRecipeDB( void );
int lastInsertID();
- void createTable( const QString &tableName );
- void givePermissions( const QString &dbName, const QString &username, const QString &password = QString::null, const QString &clientHost = "localhost" );
+ void createTable( const TQString &tableName );
+ void givePermissions( const TQString &dbName, const TQString &username, const TQString &password = TQString::null, const TQString &clientHost = "localhost" );
protected:
- QString qsqlDriverPlugin() const
+ TQString qsqlDriverPlugin() const
{
return MYSQL_DRIVER;
}
private:
void portOldDatabases( float version );
- QStringList backupCommand() const;
- QStringList restoreCommand() const;
+ TQStringList backupCommand() const;
+ TQStringList restoreCommand() const;
};