diff options
Diffstat (limited to 'tqtinterface/qt4/src/sql/tqsqldatabase.cpp')
-rw-r--r-- | tqtinterface/qt4/src/sql/tqsqldatabase.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tqtinterface/qt4/src/sql/tqsqldatabase.cpp b/tqtinterface/qt4/src/sql/tqsqldatabase.cpp index 70a15ae..1876720 100644 --- a/tqtinterface/qt4/src/sql/tqsqldatabase.cpp +++ b/tqtinterface/qt4/src/sql/tqsqldatabase.cpp @@ -149,7 +149,7 @@ typedef TQDict<TQSqlDriverCreatorBase> TQDriverDict; class TQSqlDatabaseManager : public TQObject { public: - TQSqlDatabaseManager( TQObject * tqparent = 0, const char * name = 0 ); + TQSqlDatabaseManager( TQObject * parent = 0, const char * name = 0 ); ~TQSqlDatabaseManager(); static TQSqlDatabase* database( const TQString& name, bool open ); static TQSqlDatabase* addDatabase( TQSqlDatabase* db, const TQString & name ); @@ -168,8 +168,8 @@ protected: Constructs an SQL database manager. */ -TQSqlDatabaseManager::TQSqlDatabaseManager( TQObject * tqparent, const char * name ) - : TQObject( tqparent, name ), dbDict( 1 ), drDict( 0 ) +TQSqlDatabaseManager::TQSqlDatabaseManager( TQObject * parent, const char * name ) + : TQObject( parent, name ), dbDict( 1 ), drDict( 0 ) { } @@ -563,7 +563,7 @@ bool TQSqlDatabase::contains( const TQString& connectionName ) /*! Creates a TQSqlDatabase connection called \a name that uses the - driver referred to by \a type, with the tqparent \a tqparent and the + driver referred to by \a type, with the parent \a parent and the object name \a objname. If the \a type is not recognized, the database connection will have no functionality. @@ -587,8 +587,8 @@ bool TQSqlDatabase::contains( const TQString& connectionName ) \sa registerSqlDriver() */ -TQSqlDatabase::TQSqlDatabase( const TQString& type, const TQString& name, TQObject * tqparent, const char * objname ) - : TQObject( tqparent, objname ) +TQSqlDatabase::TQSqlDatabase( const TQString& type, const TQString& name, TQObject * parent, const char * objname ) + : TQObject( parent, objname ) { init( type, name ); } @@ -598,14 +598,14 @@ TQSqlDatabase::TQSqlDatabase( const TQString& type, const TQString& name, TQObje \overload Creates a database connection using the driver \a driver, with - the tqparent \a tqparent and the object name \a objname. + the parent \a parent and the object name \a objname. \warning The framework takes ownership of the \a driver pointer, so it should not be deleted. */ -TQSqlDatabase::TQSqlDatabase( TQSqlDriver* driver, TQObject * tqparent, const char * objname ) - : TQObject( tqparent, objname ) +TQSqlDatabase::TQSqlDatabase( TQSqlDriver* driver, TQObject * parent, const char * objname ) + : TQObject( parent, objname ) { d = new TQSqlDatabasePrivate(); d->driver = driver; |