diff options
Diffstat (limited to 'kexi/kexidb/drivers/sqlite/sqlitedriver.h')
-rw-r--r-- | kexi/kexidb/drivers/sqlite/sqlitedriver.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/kexi/kexidb/drivers/sqlite/sqlitedriver.h b/kexi/kexidb/drivers/sqlite/sqlitedriver.h index 66d4d4d2..a388d823 100644 --- a/kexi/kexidb/drivers/sqlite/sqlitedriver.h +++ b/kexi/kexidb/drivers/sqlite/sqlitedriver.h @@ -20,7 +20,7 @@ #ifndef KEXIDB_DRIVER_SQLITE_H #define KEXIDB_DRIVER_SQLITE_H -#include <qstringlist.h> +#include <tqstringlist.h> #include <kexidb/driver.h> @@ -35,31 +35,32 @@ class SQLiteDriverPrivate; class SQLiteDriver : public Driver { Q_OBJECT + TQ_OBJECT KEXIDB_DRIVER public: - SQLiteDriver( QObject *parent, const char *name, const QStringList &args = QStringList() ); + SQLiteDriver( TQObject *tqparent, const char *name, const TQStringList &args = TQStringList() ); virtual ~SQLiteDriver(); /*! \return true if \a n is a system object name; for this driver any object with name prefixed with "sqlite_" is considered as system object. */ - virtual bool isSystemObjectName( const QString& n ) const; + virtual bool isSystemObjectName( const TQString& n ) const; /*! \return false for this driver. */ - virtual bool isSystemDatabaseName( const QString& ) const { return false; } + virtual bool isSystemDatabaseName( const TQString& ) const { return false; } //! Escape a string for use as a value - virtual QString escapeString(const QString& str) const; - virtual QCString escapeString(const QCString& str) const; + virtual TQString escapeString(const TQString& str) const; + virtual TQCString escapeString(const TQCString& str) const; //! Escape BLOB value \a array - virtual QString escapeBLOB(const QByteArray& array) const; + virtual TQString escapeBLOB(const TQByteArray& array) const; protected: - virtual QString drv_escapeIdentifier( const QString& str) const; - virtual QCString drv_escapeIdentifier( const QCString& str) const; + virtual TQString drv_escapeIdentifier( const TQString& str) const; + virtual TQCString drv_escapeIdentifier( const TQCString& str) const; virtual Connection *drv_createConnection( ConnectionData &conn_data ); virtual AdminTools* drv_createAdminTools() const; @@ -67,7 +68,7 @@ class SQLiteDriver : public Driver for this driver fields with name equal "_ROWID_" is considered as system field. */ - virtual bool drv_isSystemFieldName( const QString& n ) const; + virtual bool drv_isSystemFieldName( const TQString& n ) const; SQLiteDriverPrivate *dp; |