diff options
Diffstat (limited to 'kexi/kexidb/drivers/pqxx/pqxxdriver.h')
-rw-r--r-- | kexi/kexidb/drivers/pqxx/pqxxdriver.h | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/kexi/kexidb/drivers/pqxx/pqxxdriver.h b/kexi/kexidb/drivers/pqxx/pqxxdriver.h index bbfdddc3..779c1368 100644 --- a/kexi/kexidb/drivers/pqxx/pqxxdriver.h +++ b/kexi/kexidb/drivers/pqxx/pqxxdriver.h @@ -17,10 +17,10 @@ * Boston, MA 02110-1301, USA. */ -#ifndef KEXIDB_DRIVER_PQXX_H -#define KEXIDB_DRIVER_PQXX_H +#ifndef KEXIDB_DRIVER_PTQXX_H +#define KEXIDB_DRIVER_PTQXX_H -#include <qstringlist.h> +#include <tqstringlist.h> #include <kexidb/driver.h> @@ -34,33 +34,34 @@ class DriverManager; class pqxxSqlDriver : public Driver { Q_OBJECT + TQ_OBJECT KEXIDB_DRIVER public: - pqxxSqlDriver( QObject *parent, const char *name, const QStringList &args = QStringList() ); + pqxxSqlDriver( TQObject *tqparent, const char *name, const TQStringList &args = TQStringList() ); ~pqxxSqlDriver(); - virtual bool isSystemObjectName( const QString& n )const; - virtual bool isSystemDatabaseName( const QString& n )const; + virtual bool isSystemObjectName( const TQString& n )const; + virtual bool isSystemDatabaseName( const TQString& n )const; //! Escape a string for use as a value - virtual QString escapeString( const QString& str) const; - virtual QCString escapeString( const QCString& str) const; - virtual QString sqlTypeName(int id_t, int p=0) const; + virtual TQString escapeString( const TQString& str) const; + virtual TQCString escapeString( const TQCString& str) const; + virtual TQString sqlTypeName(int id_t, int p=0) const; //! Escape BLOB value \a array - virtual QString escapeBLOB(const QByteArray& array) const; + virtual TQString escapeBLOB(const TQByteArray& array) const; /*! Escapes and converts value \a v (for type \a ftype) to string representation required by SQL commands. Reimplemented for boolean type only to use SQL compliant TRUE or FALSE */ - virtual QString valueToSQL( uint ftype, const QVariant& v ) const; + virtual TQString valueToSQL( uint ftype, const TQVariant& v ) 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 bool drv_isSystemFieldName( const QString& n )const; + virtual bool drv_isSystemFieldName( const TQString& n )const; private: static const char *keywords[]; |