diff options
author | Timothy Pearson <[email protected]> | 2012-03-01 13:24:30 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-03-01 13:24:30 -0600 |
commit | a830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0 (patch) | |
tree | 3910055c634e2ca44eacd2c892118634df9b3597 /src/sql/qsqldatabase.cpp | |
parent | b0b53cc84f215df9b9bcce77253a6b7a9d300986 (diff) | |
download | qt3-a830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0.tar.gz qt3-a830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0.zip |
Rename additional global TQt functions
Diffstat (limited to 'src/sql/qsqldatabase.cpp')
-rw-r--r-- | src/sql/qsqldatabase.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/sql/qsqldatabase.cpp b/src/sql/qsqldatabase.cpp index eaa7a70..ec2aa0f 100644 --- a/src/sql/qsqldatabase.cpp +++ b/src/sql/qsqldatabase.cpp @@ -92,7 +92,7 @@ QPtrDict<QSqlOpenExtension> *qt_open_extension_dict = 0; static QSingleCleanupHandler< QPtrDict<QSqlDriverExtension> > qt_driver_ext_cleanup; static QSingleCleanupHandler< QPtrDict<QSqlOpenExtension> > qt_open_ext_cleanup; -Q_EXPORT QPtrDict<QSqlDriverExtension> *qSqlDriverExtDict() +Q_EXPORT QPtrDict<QSqlDriverExtension> *tqSqlDriverExtDict() { if ( !qt_driver_extension_dict ) { qt_driver_extension_dict = new QPtrDict<QSqlDriverExtension>; @@ -101,7 +101,7 @@ Q_EXPORT QPtrDict<QSqlDriverExtension> *qSqlDriverExtDict() return qt_driver_extension_dict; } -Q_EXPORT QPtrDict<QSqlOpenExtension> *qSqlOpenExtDict() +Q_EXPORT QPtrDict<QSqlOpenExtension> *tqSqlOpenExtDict() { if ( !qt_open_extension_dict ) { qt_open_extension_dict = new QPtrDict<QSqlOpenExtension>; @@ -212,7 +212,7 @@ QSqlDatabaseManager* QSqlDatabaseManager::instance() static QGuardedPtr<QSqlDatabaseManager> sqlConnection = 0; if ( !sqlConnection ) { if( qApp == 0 ){ - qFatal( "QSqlDatabaseManager: A QApplication object has to be " + tqFatal( "QSqlDatabaseManager: A QApplication object has to be " "instantiated in order to use the SQL module." ); return 0; } @@ -238,7 +238,7 @@ QSqlDatabase* QSqlDatabaseManager::database( const QString& name, bool open ) db->open(); #ifdef QT_CHECK_RANGE if ( !db->isOpen() ) - qWarning("QSqlDatabaseManager::database: unable to open database: %s: %s", + tqWarning("QSqlDatabaseManager::database: unable to open database: %s: %s", db->lastError().databaseText().latin1(), db->lastError().driverText().latin1() ); #endif } @@ -690,8 +690,8 @@ void QSqlDatabase::init( const QString& type, const QString& ) if ( !d->driver ) { #ifdef QT_CHECK_RANGE - qWarning( "QSqlDatabase: %s driver not loaded", type.latin1() ); - qWarning( "QSqlDatabase: available drivers: %s", drivers().join(" ").latin1() ); + tqWarning( "QSqlDatabase: %s driver not loaded", type.latin1() ); + tqWarning( "QSqlDatabase: available drivers: %s", drivers().join(" ").latin1() ); #endif d->driver = new QNullDriver(); d->driver->setLastError( QSqlError( "Driver not loaded", "Driver not loaded" ) ); |