diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-13 13:18:58 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-14 10:35:25 +0900 |
commit | eb42871e999672a8fad5793733c58be05928c8ea (patch) | |
tree | 57323eeb0fc8e0f0c30389b23d1aac0870ff3953 /src/sql | |
parent | 440483234fd5d8f29517d9c84b4227db80a90361 (diff) | |
download | tqt3-eb42871e999672a8fad5793733c58be05928c8ea.tar.gz tqt3-eb42871e999672a8fad5793733c58be05928c8ea.zip |
Replace Q_EXPORT_*/Q_EXTERN defines with TQ_EXPORT_*/TQ_EXTERN
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 1ba13366a7a377d50b9e8df9044ce11d8209f98c)
Diffstat (limited to 'src/sql')
28 files changed, 34 insertions, 34 deletions
diff --git a/src/sql/drivers/cache/qsqlcachedresult.h b/src/sql/drivers/cache/qsqlcachedresult.h index 46f8afae4..42d1d1ec5 100644 --- a/src/sql/drivers/cache/qsqlcachedresult.h +++ b/src/sql/drivers/cache/qsqlcachedresult.h @@ -60,7 +60,7 @@ #if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL ) #define TQM_EXPORT_SQL #else -#define TQM_EXPORT_SQL Q_EXPORT +#define TQM_EXPORT_SQL TQ_EXPORT #endif #ifndef TQT_NO_SQL diff --git a/src/sql/drivers/mysql/qsql_mysql.h b/src/sql/drivers/mysql/qsql_mysql.h index e4646256d..f2266af03 100644 --- a/src/sql/drivers/mysql/qsql_mysql.h +++ b/src/sql/drivers/mysql/qsql_mysql.h @@ -55,7 +55,7 @@ #ifdef QT_PLUGIN #define Q_EXPORT_SQLDRIVER_MYSQL #else -#define Q_EXPORT_SQLDRIVER_MYSQL Q_EXPORT +#define Q_EXPORT_SQLDRIVER_MYSQL TQ_EXPORT #endif class TQMYSQLDriverPrivate; diff --git a/src/sql/drivers/odbc/qsql_odbc.h b/src/sql/drivers/odbc/qsql_odbc.h index 619212d4a..2fa820810 100644 --- a/src/sql/drivers/odbc/qsql_odbc.h +++ b/src/sql/drivers/odbc/qsql_odbc.h @@ -62,7 +62,7 @@ #ifdef QT_PLUGIN #define Q_EXPORT_SQLDRIVER_ODBC #else -#define Q_EXPORT_SQLDRIVER_ODBC Q_EXPORT +#define Q_EXPORT_SQLDRIVER_ODBC TQ_EXPORT #endif #ifdef Q_OS_UNIX diff --git a/src/sql/drivers/psql/qsql_psql.h b/src/sql/drivers/psql/qsql_psql.h index 6f9c4f5f1..841ff568d 100644 --- a/src/sql/drivers/psql/qsql_psql.h +++ b/src/sql/drivers/psql/qsql_psql.h @@ -49,7 +49,7 @@ #ifdef QT_PLUGIN #define Q_EXPORT_SQLDRIVER_PSQL #else -#define Q_EXPORT_SQLDRIVER_PSQL Q_EXPORT +#define Q_EXPORT_SQLDRIVER_PSQL TQ_EXPORT #endif class TQPSQLPrivate; diff --git a/src/sql/ntqdatabrowser.h b/src/sql/ntqdatabrowser.h index 8c5cc7016..6dc3aab3b 100644 --- a/src/sql/ntqdatabrowser.h +++ b/src/sql/ntqdatabrowser.h @@ -56,7 +56,7 @@ class TQSqlForm; class TQDataBrowserPrivate; -class Q_EXPORT TQDataBrowser : public TQWidget +class TQ_EXPORT TQDataBrowser : public TQWidget { TQ_OBJECT TQ_PROPERTY( bool boundaryChecking READ boundaryChecking WRITE setBoundaryChecking ) diff --git a/src/sql/ntqdatatable.h b/src/sql/ntqdatatable.h index d03f9f7b7..d854c456d 100644 --- a/src/sql/ntqdatatable.h +++ b/src/sql/ntqdatatable.h @@ -55,7 +55,7 @@ #if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL ) #define TQM_EXPORT_SQL #else -#define TQM_EXPORT_SQL Q_EXPORT +#define TQM_EXPORT_SQL TQ_EXPORT #endif #ifndef TQT_NO_SQL_VIEW_WIDGETS diff --git a/src/sql/ntqdataview.h b/src/sql/ntqdataview.h index 9d982e1e8..245bb5eab 100644 --- a/src/sql/ntqdataview.h +++ b/src/sql/ntqdataview.h @@ -48,7 +48,7 @@ #if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL ) #define TQM_EXPORT_SQL #else -#define TQM_EXPORT_SQL Q_EXPORT +#define TQM_EXPORT_SQL TQ_EXPORT #endif #ifndef TQT_NO_SQL_VIEW_WIDGETS diff --git a/src/sql/ntqeditorfactory.h b/src/sql/ntqeditorfactory.h index 2a18b4b47..212424003 100644 --- a/src/sql/ntqeditorfactory.h +++ b/src/sql/ntqeditorfactory.h @@ -49,7 +49,7 @@ #if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL ) #define TQM_EXPORT_SQL #else -#define TQM_EXPORT_SQL Q_EXPORT +#define TQM_EXPORT_SQL TQ_EXPORT #endif #ifndef TQT_NO_SQL_EDIT_WIDGETS diff --git a/src/sql/ntqsql.h b/src/sql/ntqsql.h index f1c8b0883..28a8204b2 100644 --- a/src/sql/ntqsql.h +++ b/src/sql/ntqsql.h @@ -48,7 +48,7 @@ #if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL ) #define TQM_EXPORT_SQL #else -#define TQM_EXPORT_SQL Q_EXPORT +#define TQM_EXPORT_SQL TQ_EXPORT #endif #ifndef TQT_NO_SQL diff --git a/src/sql/ntqsqlcursor.h b/src/sql/ntqsqlcursor.h index 9541fe7b1..e253324af 100644 --- a/src/sql/ntqsqlcursor.h +++ b/src/sql/ntqsqlcursor.h @@ -51,7 +51,7 @@ #if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL ) #define TQM_EXPORT_SQL #else -#define TQM_EXPORT_SQL Q_EXPORT +#define TQM_EXPORT_SQL TQ_EXPORT #endif #ifndef TQT_NO_SQL diff --git a/src/sql/ntqsqldatabase.h b/src/sql/ntqsqldatabase.h index 6017bfcfe..a6d744877 100644 --- a/src/sql/ntqsqldatabase.h +++ b/src/sql/ntqsqldatabase.h @@ -51,7 +51,7 @@ #if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL ) #define TQM_EXPORT_SQL #else -#define TQM_EXPORT_SQL Q_EXPORT +#define TQM_EXPORT_SQL TQ_EXPORT #endif #ifndef TQT_NO_SQL diff --git a/src/sql/ntqsqldriver.h b/src/sql/ntqsqldriver.h index 5e5c625ed..b1b2fcb3a 100644 --- a/src/sql/ntqsqldriver.h +++ b/src/sql/ntqsqldriver.h @@ -56,7 +56,7 @@ #if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL ) #define TQM_EXPORT_SQL #else -#define TQM_EXPORT_SQL Q_EXPORT +#define TQM_EXPORT_SQL TQ_EXPORT #endif #ifndef TQT_NO_SQL diff --git a/src/sql/ntqsqldriverplugin.h b/src/sql/ntqsqldriverplugin.h index 8a6d3944a..97e7addb3 100644 --- a/src/sql/ntqsqldriverplugin.h +++ b/src/sql/ntqsqldriverplugin.h @@ -52,7 +52,7 @@ class TQSqlDriver; class TQSqlDriverPluginPrivate; -class Q_EXPORT TQSqlDriverPlugin : public TQGPlugin +class TQ_EXPORT TQSqlDriverPlugin : public TQGPlugin { TQ_OBJECT public: diff --git a/src/sql/ntqsqleditorfactory.h b/src/sql/ntqsqleditorfactory.h index eb100952c..667ad8651 100644 --- a/src/sql/ntqsqleditorfactory.h +++ b/src/sql/ntqsqleditorfactory.h @@ -48,7 +48,7 @@ #if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL ) #define TQM_EXPORT_SQL #else -#define TQM_EXPORT_SQL Q_EXPORT +#define TQM_EXPORT_SQL TQ_EXPORT #endif #ifndef TQT_NO_SQL_EDIT_WIDGETS diff --git a/src/sql/ntqsqlerror.h b/src/sql/ntqsqlerror.h index 7fb816614..2d60c2f21 100644 --- a/src/sql/ntqsqlerror.h +++ b/src/sql/ntqsqlerror.h @@ -48,7 +48,7 @@ #if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL ) #define TQM_EXPORT_SQL #else -#define TQM_EXPORT_SQL Q_EXPORT +#define TQM_EXPORT_SQL TQ_EXPORT #endif #ifndef TQT_NO_SQL diff --git a/src/sql/ntqsqlfield.h b/src/sql/ntqsqlfield.h index f917b6e92..a9d5e8947 100644 --- a/src/sql/ntqsqlfield.h +++ b/src/sql/ntqsqlfield.h @@ -49,7 +49,7 @@ #if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL ) #define TQM_EXPORT_SQL #else -#define TQM_EXPORT_SQL Q_EXPORT +#define TQM_EXPORT_SQL TQ_EXPORT #endif #ifndef TQT_NO_SQL diff --git a/src/sql/ntqsqlform.h b/src/sql/ntqsqlform.h index c39382449..3d3b6272f 100644 --- a/src/sql/ntqsqlform.h +++ b/src/sql/ntqsqlform.h @@ -49,7 +49,7 @@ #if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL ) #define TQM_EXPORT_SQL #else -#define TQM_EXPORT_SQL Q_EXPORT +#define TQM_EXPORT_SQL TQ_EXPORT #endif #ifndef TQT_NO_SQL_FORM diff --git a/src/sql/ntqsqlindex.h b/src/sql/ntqsqlindex.h index b387ea7da..aa0ad102b 100644 --- a/src/sql/ntqsqlindex.h +++ b/src/sql/ntqsqlindex.h @@ -52,7 +52,7 @@ #define TQM_EXPORT_SQL #define TQM_TEMPLATE_EXTERN_SQL #else -#define TQM_EXPORT_SQL Q_EXPORT +#define TQM_EXPORT_SQL TQ_EXPORT #define TQM_TEMPLATE_EXTERN_SQL Q_TEMPLATE_EXTERN #endif diff --git a/src/sql/ntqsqlpropertymap.h b/src/sql/ntqsqlpropertymap.h index 893e8b6ab..c7bff6eb7 100644 --- a/src/sql/ntqsqlpropertymap.h +++ b/src/sql/ntqsqlpropertymap.h @@ -51,7 +51,7 @@ class TQWidget; class TQSqlPropertyMapPrivate; -class Q_EXPORT TQSqlPropertyMap { +class TQ_EXPORT TQSqlPropertyMap { public: TQSqlPropertyMap(); virtual ~TQSqlPropertyMap(); diff --git a/src/sql/ntqsqlquery.h b/src/sql/ntqsqlquery.h index 7cba01016..d1f56f858 100644 --- a/src/sql/ntqsqlquery.h +++ b/src/sql/ntqsqlquery.h @@ -57,7 +57,7 @@ class TQSqlDriver; class TQSqlResult; class TQSqlDatabase; -class Q_EXPORT TQSqlResultShared : public TQObject, public TQShared +class TQ_EXPORT TQSqlResultShared : public TQObject, public TQShared { TQ_OBJECT public: @@ -69,7 +69,7 @@ private slots: void slotResultDestroyed(); }; -class Q_EXPORT TQSqlQuery +class TQ_EXPORT TQSqlQuery { public: TQSqlQuery( TQSqlResult * r ); diff --git a/src/sql/ntqsqlrecord.h b/src/sql/ntqsqlrecord.h index bf3ebfc4f..9b4e1e9e8 100644 --- a/src/sql/ntqsqlrecord.h +++ b/src/sql/ntqsqlrecord.h @@ -52,7 +52,7 @@ class TQSqlRecordPrivate; -class Q_EXPORT TQSqlRecordShared : public TQShared +class TQ_EXPORT TQSqlRecordShared : public TQShared { public: TQSqlRecordShared( TQSqlRecordPrivate* sqlRecordPrivate ) @@ -62,7 +62,7 @@ public: TQSqlRecordPrivate* d; }; -class Q_EXPORT TQSqlRecord +class TQ_EXPORT TQSqlRecord { public: TQSqlRecord(); @@ -117,13 +117,13 @@ private: #if defined(Q_TEMPLATEDLL) // MOC_SKIP_BEGIN -Q_TEMPLATE_EXTERN template class Q_EXPORT TQValueList<TQSqlFieldInfo>; +Q_TEMPLATE_EXTERN template class TQ_EXPORT TQValueList<TQSqlFieldInfo>; // MOC_SKIP_END #endif typedef TQValueList<TQSqlFieldInfo> TQSqlFieldInfoList; -class Q_EXPORT TQSqlRecordInfo: public TQSqlFieldInfoList +class TQ_EXPORT TQSqlRecordInfo: public TQSqlFieldInfoList { public: TQSqlRecordInfo(): TQSqlFieldInfoList() {} diff --git a/src/sql/ntqsqlresult.h b/src/sql/ntqsqlresult.h index 4e0255a8f..0b0763498 100644 --- a/src/sql/ntqsqlresult.h +++ b/src/sql/ntqsqlresult.h @@ -52,7 +52,7 @@ #if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL ) #define TQM_EXPORT_SQL #else -#define TQM_EXPORT_SQL Q_EXPORT +#define TQM_EXPORT_SQL TQ_EXPORT #endif #ifndef TQT_NO_SQL diff --git a/src/sql/ntqsqlselectcursor.h b/src/sql/ntqsqlselectcursor.h index 7168dbefd..b1f0802b0 100644 --- a/src/sql/ntqsqlselectcursor.h +++ b/src/sql/ntqsqlselectcursor.h @@ -48,7 +48,7 @@ #if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL ) #define TQM_EXPORT_SQL #else -#define TQM_EXPORT_SQL Q_EXPORT +#define TQM_EXPORT_SQL TQ_EXPORT #endif #ifndef TQT_NO_SQL diff --git a/src/sql/qsqldatabase.cpp b/src/sql/qsqldatabase.cpp index 0dddb3b17..8c42452d2 100644 --- a/src/sql/qsqldatabase.cpp +++ b/src/sql/qsqldatabase.cpp @@ -95,7 +95,7 @@ TQPtrDict<TQSqlOpenExtension> *qt_open_extension_dict = 0; static TQSingleCleanupHandler< TQPtrDict<TQSqlDriverExtension> > qt_driver_ext_cleanup; static TQSingleCleanupHandler< TQPtrDict<TQSqlOpenExtension> > qt_open_ext_cleanup; -Q_EXPORT TQPtrDict<TQSqlDriverExtension> *tqSqlDriverExtDict() +TQ_EXPORT TQPtrDict<TQSqlDriverExtension> *tqSqlDriverExtDict() { if ( !qt_driver_extension_dict ) { qt_driver_extension_dict = new TQPtrDict<TQSqlDriverExtension>; @@ -104,7 +104,7 @@ Q_EXPORT TQPtrDict<TQSqlDriverExtension> *tqSqlDriverExtDict() return qt_driver_extension_dict; } -Q_EXPORT TQPtrDict<TQSqlOpenExtension> *tqSqlOpenExtDict() +TQ_EXPORT TQPtrDict<TQSqlOpenExtension> *tqSqlOpenExtDict() { if ( !qt_open_extension_dict ) { qt_open_extension_dict = new TQPtrDict<TQSqlOpenExtension>; diff --git a/src/sql/qsqldriverinterface_p.h b/src/sql/qsqldriverinterface_p.h index 7f0678288..851770366 100644 --- a/src/sql/qsqldriverinterface_p.h +++ b/src/sql/qsqldriverinterface_p.h @@ -60,7 +60,7 @@ #if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL ) #define TQM_EXPORT_SQL #else -#define TQM_EXPORT_SQL Q_EXPORT +#define TQM_EXPORT_SQL TQ_EXPORT #endif #ifndef TQT_NO_SQL diff --git a/src/sql/qsqldriverplugin.cpp b/src/sql/qsqldriverplugin.cpp index 451a9aa2f..f0c2f39f8 100644 --- a/src/sql/qsqldriverplugin.cpp +++ b/src/sql/qsqldriverplugin.cpp @@ -58,7 +58,7 @@ Writing a SQL plugin is achieved by subclassing this base class, reimplementing the pure virtual functions keys() and create(), and - exporting the class with the \c Q_EXPORT_PLUGIN macro. See the SQL + exporting the class with the \c TQ_EXPORT_PLUGIN macro. See the SQL plugins that come with TQt for example implementations (in the \c{plugins/src/sqldrivers} subdirectory of the source distribution). Read the \link plugins-howto.html plugins @@ -138,7 +138,7 @@ TQSqlDriver *TQSqlDriverPluginPrivate::create( const TQString &key ) /*! Constructs a SQL driver plugin. This is invoked automatically by - the \c Q_EXPORT_PLUGIN macro. + the \c TQ_EXPORT_PLUGIN macro. */ TQSqlDriverPlugin::TQSqlDriverPlugin() diff --git a/src/sql/qsqlextension_p.h b/src/sql/qsqlextension_p.h index e042089fc..ff2580635 100644 --- a/src/sql/qsqlextension_p.h +++ b/src/sql/qsqlextension_p.h @@ -67,7 +67,7 @@ #define TQM_EXPORT_SQL #define TQM_TEMPLATE_EXTERN_SQL #else -#define TQM_EXPORT_SQL Q_EXPORT +#define TQM_EXPORT_SQL TQ_EXPORT #define TQM_TEMPLATE_EXTERN_SQL Q_TEMPLATE_EXTERN #endif diff --git a/src/sql/qsqlmanager_p.h b/src/sql/qsqlmanager_p.h index d9ef527e5..c919b9df6 100644 --- a/src/sql/qsqlmanager_p.h +++ b/src/sql/qsqlmanager_p.h @@ -66,7 +66,7 @@ #if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL ) #define TQM_EXPORT_SQL #else -#define TQM_EXPORT_SQL Q_EXPORT +#define TQM_EXPORT_SQL TQ_EXPORT #endif #ifndef TQT_NO_SQL |