diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-10-17 19:46:30 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-10-17 19:46:30 +0900 |
commit | 69d87202cb139ffe9e4b3ce92e434523b7b09b64 (patch) | |
tree | 7b133311a4d5e5394f2612dced305f815c04847b /src/sql/qsqldatabase.cpp | |
parent | e07baa10b7b8e7105e02a621efadac67216c61ed (diff) | |
download | tqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.tar.gz tqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.zip |
QT_NO_* -> TQT_NO_* renaming.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/sql/qsqldatabase.cpp')
-rw-r--r-- | src/sql/qsqldatabase.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/sql/qsqldatabase.cpp b/src/sql/qsqldatabase.cpp index cc38f86fc..0dddb3b17 100644 --- a/src/sql/qsqldatabase.cpp +++ b/src/sql/qsqldatabase.cpp @@ -40,7 +40,7 @@ #include "ntqsqldatabase.h" -#ifndef QT_NO_SQL +#ifndef TQT_NO_SQL #ifdef Q_OS_WIN32 // Conflicting declarations of LPCBYTE in sqlfront.h and winscard.h @@ -345,7 +345,7 @@ class TQSqlDatabasePrivate public: TQSqlDatabasePrivate(): driver(0), -#ifndef QT_NO_COMPONENT +#ifndef TQT_NO_COMPONENT plugIns(0), #endif port(-1) {} @@ -353,7 +353,7 @@ public: { } TQSqlDriver* driver; -#ifndef QT_NO_COMPONENT +#ifndef TQT_NO_COMPONENT TQPluginManager<TQSqlDriverFactoryInterface> *plugIns; #endif TQString dbname; @@ -486,7 +486,7 @@ TQStringList TQSqlDatabase::drivers() { TQStringList l; -#ifndef QT_NO_COMPONENT +#ifndef TQT_NO_COMPONENT TQPluginManager<TQSqlDriverFactoryInterface> *plugIns; plugIns = new TQPluginManager<TQSqlDriverFactoryInterface>( IID_QSqlDriverFactory, TQApplication::libraryPaths(), "/sqldrivers" ); @@ -695,7 +695,7 @@ void TQSqlDatabase::init( const TQString& type, const TQString& ) } } -#ifndef QT_NO_COMPONENT +#ifndef TQT_NO_COMPONENT if ( !d->driver ) { d->plugIns = new TQPluginManager<TQSqlDriverFactoryInterface>( IID_QSqlDriverFactory, TQApplication::libraryPaths(), "/sqldrivers" ); @@ -724,7 +724,7 @@ void TQSqlDatabase::init( const TQString& type, const TQString& ) TQSqlDatabase::~TQSqlDatabase() { delete d->driver; -#ifndef QT_NO_COMPONENT +#ifndef TQT_NO_COMPONENT delete d->plugIns; #endif delete d; @@ -1357,4 +1357,4 @@ TQSqlDatabase* TQSqlDatabase::addDatabase( TQSqlDriver* driver, const TQString& { return TQSqlDatabaseManager::addDatabase( new TQSqlDatabase( driver ), connectionName ); } -#endif // QT_NO_SQL +#endif // TQT_NO_SQL |