diff options
Diffstat (limited to 'tqtinterface/qt4/src/sql/drivers')
10 files changed, 30 insertions, 30 deletions
diff --git a/tqtinterface/qt4/src/sql/drivers/ibase/tqsql_ibase.cpp b/tqtinterface/qt4/src/sql/drivers/ibase/tqsql_ibase.cpp index ddc103a..735363c 100644 --- a/tqtinterface/qt4/src/sql/drivers/ibase/tqsql_ibase.cpp +++ b/tqtinterface/qt4/src/sql/drivers/ibase/tqsql_ibase.cpp @@ -757,14 +757,14 @@ int TQIBaseResult::numRowsAffected() /*********************************/ -TQIBaseDriver::TQIBaseDriver(TQObject * tqparent, const char * name) - : TQSqlDriver(tqparent, name ? name : TQIBASE_DRIVER_NAME) +TQIBaseDriver::TQIBaseDriver(TQObject * parent, const char * name) + : TQSqlDriver(parent, name ? name : TQIBASE_DRIVER_NAME) { d = new TQIBaseDriverPrivate(this); } -TQIBaseDriver::TQIBaseDriver(void *connection, TQObject *tqparent, const char *name) - : TQSqlDriver(tqparent, name ? name : TQIBASE_DRIVER_NAME) +TQIBaseDriver::TQIBaseDriver(void *connection, TQObject *parent, const char *name) + : TQSqlDriver(parent, name ? name : TQIBASE_DRIVER_NAME) { d = new TQIBaseDriverPrivate(this); d->ibase = (isc_db_handle)(long int)connection; diff --git a/tqtinterface/qt4/src/sql/drivers/ibase/tqsql_ibase.h b/tqtinterface/qt4/src/sql/drivers/ibase/tqsql_ibase.h index be5bfd5..e720c1c 100644 --- a/tqtinterface/qt4/src/sql/drivers/ibase/tqsql_ibase.h +++ b/tqtinterface/qt4/src/sql/drivers/ibase/tqsql_ibase.h @@ -78,8 +78,8 @@ class TQIBaseDriver : public TQSqlDriver friend class TQIBaseResultPrivate; friend class TQIBaseResult; public: - TQIBaseDriver(TQObject *tqparent = 0, const char *name = 0); - TQIBaseDriver(void *connection, TQObject *tqparent = 0, const char *name = 0); + TQIBaseDriver(TQObject *parent = 0, const char *name = 0); + TQIBaseDriver(void *connection, TQObject *parent = 0, const char *name = 0); virtual ~TQIBaseDriver(); bool hasFeature(DriverFeature f) const; bool open(const TQString & db, diff --git a/tqtinterface/qt4/src/sql/drivers/mysql/tqsql_mysql.cpp b/tqtinterface/qt4/src/sql/drivers/mysql/tqsql_mysql.cpp index e13f12b..98cccb2 100644 --- a/tqtinterface/qt4/src/sql/drivers/mysql/tqsql_mysql.cpp +++ b/tqtinterface/qt4/src/sql/drivers/mysql/tqsql_mysql.cpp @@ -376,8 +376,8 @@ static void qServerInit() #endif // TQ_NO_MYSTQL_EMBEDDED } -TQMYSTQLDriver::TQMYSTQLDriver( TQObject * tqparent, const char * name ) - : TQSqlDriver( tqparent, name ? name : TQMYSTQL_DRIVER_NAME ) +TQMYSTQLDriver::TQMYSTQLDriver( TQObject * parent, const char * name ) + : TQSqlDriver( parent, name ? name : TQMYSTQL_DRIVER_NAME ) { init(); qServerInit(); @@ -387,8 +387,8 @@ TQMYSTQLDriver::TQMYSTQLDriver( TQObject * tqparent, const char * name ) Create a driver instance with an already open connection handle. */ -TQMYSTQLDriver::TQMYSTQLDriver( MYSQL * con, TQObject * tqparent, const char * name ) - : TQSqlDriver( tqparent, name ? name : TQMYSTQL_DRIVER_NAME ) +TQMYSTQLDriver::TQMYSTQLDriver( MYSQL * con, TQObject * parent, const char * name ) + : TQSqlDriver( parent, name ? name : TQMYSTQL_DRIVER_NAME ) { init(); if ( con ) { diff --git a/tqtinterface/qt4/src/sql/drivers/mysql/tqsql_mysql.h b/tqtinterface/qt4/src/sql/drivers/mysql/tqsql_mysql.h index ef4f4ce..385d900 100644 --- a/tqtinterface/qt4/src/sql/drivers/mysql/tqsql_mysql.h +++ b/tqtinterface/qt4/src/sql/drivers/mysql/tqsql_mysql.h @@ -90,8 +90,8 @@ class TQ_EXPORT_STQLDRIVER_MYSQL TQMYSTQLDriver : public TQSqlDriver { friend class TQMYSTQLResult; public: - TQMYSTQLDriver( TQObject * tqparent=0, const char * name=0 ); - TQMYSTQLDriver( MYSQL * con, TQObject * tqparent=0, const char * name=0 ); + TQMYSTQLDriver( TQObject * parent=0, const char * name=0 ); + TQMYSTQLDriver( MYSQL * con, TQObject * parent=0, const char * name=0 ); ~TQMYSTQLDriver(); bool hasFeature( DriverFeature f ) const; bool open( const TQString & db, diff --git a/tqtinterface/qt4/src/sql/drivers/odbc/tqsql_odbc.cpp b/tqtinterface/qt4/src/sql/drivers/odbc/tqsql_odbc.cpp index 3401435..8e75f90 100644 --- a/tqtinterface/qt4/src/sql/drivers/odbc/tqsql_odbc.cpp +++ b/tqtinterface/qt4/src/sql/drivers/odbc/tqsql_odbc.cpp @@ -1325,14 +1325,14 @@ bool TQODBCResult::exec() //////////////////////////////////////// -TQODBCDriver::TQODBCDriver( TQObject * tqparent, const char * name ) - : TQSqlDriver(tqparent,name ? name : "TQODBC") +TQODBCDriver::TQODBCDriver( TQObject * parent, const char * name ) + : TQSqlDriver(parent,name ? name : "TQODBC") { init(); } -TQODBCDriver::TQODBCDriver( STQLHANDLE env, STQLHANDLE con, TQObject * tqparent, const char * name ) - : TQSqlDriver(tqparent,name ? name : "TQODBC") +TQODBCDriver::TQODBCDriver( STQLHANDLE env, STQLHANDLE con, TQObject * parent, const char * name ) + : TQSqlDriver(parent,name ? name : "TQODBC") { init(); d->hEnv = env; diff --git a/tqtinterface/qt4/src/sql/drivers/odbc/tqsql_odbc.h b/tqtinterface/qt4/src/sql/drivers/odbc/tqsql_odbc.h index 74ab4e7..cb09743 100644 --- a/tqtinterface/qt4/src/sql/drivers/odbc/tqsql_odbc.h +++ b/tqtinterface/qt4/src/sql/drivers/odbc/tqsql_odbc.h @@ -121,8 +121,8 @@ private: class TQ_EXPORT_STQLDRIVER_ODBC TQODBCDriver : public TQSqlDriver { public: - TQODBCDriver( TQObject * tqparent=0, const char * name=0 ); - TQODBCDriver( STQLHANDLE env, STQLHANDLE con, TQObject * tqparent=0, const char * name=0 ); + TQODBCDriver( TQObject * parent=0, const char * name=0 ); + TQODBCDriver( STQLHANDLE env, STQLHANDLE con, TQObject * parent=0, const char * name=0 ); ~TQODBCDriver(); bool hasFeature( DriverFeature f ) const; bool open( const TQString & db, diff --git a/tqtinterface/qt4/src/sql/drivers/psql/tqsql_psql.cpp b/tqtinterface/qt4/src/sql/drivers/psql/tqsql_psql.cpp index b5885bf..7809749 100644 --- a/tqtinterface/qt4/src/sql/drivers/psql/tqsql_psql.cpp +++ b/tqtinterface/qt4/src/sql/drivers/psql/tqsql_psql.cpp @@ -554,14 +554,14 @@ static TQPSTQLDriver::Protocol getPSTQLVersion( PGconn* connection ) return TQPSTQLDriver::Version6; } -TQPSTQLDriver::TQPSTQLDriver( TQObject * tqparent, const char * name ) - : TQSqlDriver(tqparent,name ? name : "TQPSQL"), pro( TQPSTQLDriver::Version6 ) +TQPSTQLDriver::TQPSTQLDriver( TQObject * parent, const char * name ) + : TQSqlDriver(parent,name ? name : "TQPSQL"), pro( TQPSTQLDriver::Version6 ) { init(); } -TQPSTQLDriver::TQPSTQLDriver( PGconn * conn, TQObject * tqparent, const char * name ) - : TQSqlDriver(tqparent,name ? name : "TQPSQL"), pro( TQPSTQLDriver::Version6 ) +TQPSTQLDriver::TQPSTQLDriver( PGconn * conn, TQObject * parent, const char * name ) + : TQSqlDriver(parent,name ? name : "TQPSQL"), pro( TQPSTQLDriver::Version6 ) { init(); d->connection = conn; diff --git a/tqtinterface/qt4/src/sql/drivers/psql/tqsql_psql.h b/tqtinterface/qt4/src/sql/drivers/psql/tqsql_psql.h index c005107..6afbc96 100644 --- a/tqtinterface/qt4/src/sql/drivers/psql/tqsql_psql.h +++ b/tqtinterface/qt4/src/sql/drivers/psql/tqsql_psql.h @@ -88,8 +88,8 @@ public: Version73 = 9 }; - TQPSTQLDriver( TQObject * tqparent=0, const char * name=0 ); - TQPSTQLDriver( PGconn * conn, TQObject * tqparent=0, const char * name=0 ); + TQPSTQLDriver( TQObject * parent=0, const char * name=0 ); + TQPSTQLDriver( PGconn * conn, TQObject * parent=0, const char * name=0 ); ~TQPSTQLDriver(); bool hasFeature( DriverFeature f ) const; bool open( const TQString & db, diff --git a/tqtinterface/qt4/src/sql/drivers/sqlite/tqsql_sqlite.cpp b/tqtinterface/qt4/src/sql/drivers/sqlite/tqsql_sqlite.cpp index 864c4c9..bf330e3 100644 --- a/tqtinterface/qt4/src/sql/drivers/sqlite/tqsql_sqlite.cpp +++ b/tqtinterface/qt4/src/sql/drivers/sqlite/tqsql_sqlite.cpp @@ -277,14 +277,14 @@ int TQSTQLiteResult::numRowsAffected() ///////////////////////////////////////////////////////// -TQSTQLiteDriver::TQSTQLiteDriver(TQObject * tqparent, const char * name) - : TQSqlDriver(tqparent, name ? name : TQSQLITE_DRIVER_NAME) +TQSTQLiteDriver::TQSTQLiteDriver(TQObject * parent, const char * name) + : TQSqlDriver(parent, name ? name : TQSQLITE_DRIVER_NAME) { d = new TQSTQLiteDriverPrivate(); } -TQSTQLiteDriver::TQSTQLiteDriver(sqlite *connection, TQObject *tqparent, const char *name) - : TQSqlDriver(tqparent, name ? name : TQSQLITE_DRIVER_NAME) +TQSTQLiteDriver::TQSTQLiteDriver(sqlite *connection, TQObject *parent, const char *name) + : TQSqlDriver(parent, name ? name : TQSQLITE_DRIVER_NAME) { d = new TQSTQLiteDriverPrivate(); d->access = connection; diff --git a/tqtinterface/qt4/src/sql/drivers/sqlite/tqsql_sqlite.h b/tqtinterface/qt4/src/sql/drivers/sqlite/tqsql_sqlite.h index 5350ba1..6100089 100644 --- a/tqtinterface/qt4/src/sql/drivers/sqlite/tqsql_sqlite.h +++ b/tqtinterface/qt4/src/sql/drivers/sqlite/tqsql_sqlite.h @@ -56,8 +56,8 @@ class TQSTQLiteDriver : public TQSqlDriver { friend class TQSTQLiteResult; public: - TQSTQLiteDriver(TQObject *tqparent = 0, const char *name = 0); - TQSTQLiteDriver(sqlite *connection, TQObject *tqparent = 0, const char *name = 0); + TQSTQLiteDriver(TQObject *parent = 0, const char *name = 0); + TQSTQLiteDriver(sqlite *connection, TQObject *parent = 0, const char *name = 0); ~TQSTQLiteDriver(); bool hasFeature(DriverFeature f) const; bool open(const TQString & db, |