diff options
Diffstat (limited to 'kexi/kexidb/drivers/odbc/odbcconnection.h')
-rw-r--r-- | kexi/kexidb/drivers/odbc/odbcconnection.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/kexi/kexidb/drivers/odbc/odbcconnection.h b/kexi/kexidb/drivers/odbc/odbcconnection.h index 8f551905..128eab61 100644 --- a/kexi/kexidb/drivers/odbc/odbcconnection.h +++ b/kexi/kexidb/drivers/odbc/odbcconnection.h @@ -20,7 +20,7 @@ #ifndef KEXIDB_CONN_ODBC_H #define KEXIDB_CONN_ODBC_H -#include <qstringlist.h> +#include <tqstringlist.h> #include <kexidb/connection.h> #include <kexidb/tableschema.h> @@ -39,13 +39,14 @@ class Driver; class ODBCConnection : public Connection { Q_OBJECT + TQ_OBJECT public: ~ODBCConnection(); - virtual Cursor* prepareQuery( const QString& statement = QString::null, uint cursor_options = 0 ); - virtual QString escapeString(const QString& str) const; - virtual QCString escapeString(const QCString& str) const; + virtual Cursor* prepareQuery( const TQString& statement = TQString(), uint cursor_options = 0 ); + virtual TQString escapeString(const TQString& str) const; + virtual TQCString escapeString(const TQCString& str) const; protected: /*! Used by driver */ @@ -55,29 +56,29 @@ class ODBCConnection : public Connection virtual bool drv_disconnect(); - virtual bool drv_getDatabasesList( QStringList &list ); + virtual bool drv_getDatabasesList( TQStringList &list ); /*! Creates new database using connection. Note: Do not pass \a dbName arg because for file-based engine (that has one database per connection) it is defined during connection. */ - virtual bool drv_createDatabase( const QString &dbName = QString::null ); + virtual bool drv_createDatabase( const TQString &dbName = TQString() ); /*! Opens existing database using connection. Do not pass \a dbName arg because for file-based engine (that has one database per connection) it is defined during connection. If you pass it, database file name will be changed. */ - virtual bool drv_useDatabase( const QString &dbName = QString::null ); + virtual bool drv_useDatabase( const TQString &dbName = TQString() ); virtual bool drv_closeDatabase(); /*! Drops database from the server using connection. After drop, database shouldn't be accessible anymore, so database file is just removed. See note from drv_useDatabase(). */ - virtual bool drv_dropDatabase( const QString &dbName = QString::null ); + virtual bool drv_dropDatabase( const TQString &dbName = TQString() ); //virtual bool drv_createTable( const KexiDB::Table& table ); - virtual bool drv_executeSQL( const QString& statement ); + virtual bool drv_executeSQL( const TQString& statement ); friend class ODBCDriver; |