summaryrefslogtreecommitdiffstats
path: root/src/tools/ntqglobal.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-13 13:18:58 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-13 13:18:58 +0900
commit1ba13366a7a377d50b9e8df9044ce11d8209f98c (patch)
tree40765573bcccd42239475344141eb98d2ac5d45e /src/tools/ntqglobal.h
parent926102a455014e6ab308aaced19e32eed7ed4414 (diff)
downloadtqt3-1ba13366a7a377d50b9e8df9044ce11d8209f98c.tar.gz
tqt3-1ba13366a7a377d50b9e8df9044ce11d8209f98c.zip
Replace Q_EXPORT_*/Q_EXTERN defines with TQ_EXPORT_*/TQ_EXTERN
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/tools/ntqglobal.h')
-rw-r--r--src/tools/ntqglobal.h74
1 files changed, 37 insertions, 37 deletions
diff --git a/src/tools/ntqglobal.h b/src/tools/ntqglobal.h
index 040d846ba..f249b7050 100644
--- a/src/tools/ntqglobal.h
+++ b/src/tools/ntqglobal.h
@@ -846,12 +846,12 @@ class TQString;
# if defined(QT_DLL)
# undef QT_DLL
# endif
-# define Q_EXPORT __declspec(dllexport)
+# define TQ_EXPORT __declspec(dllexport)
# define Q_TEMPLATEDLL
# define Q_TEMPLATE_EXTERN
# undef TQ_DISABLE_COPY /* avoid unresolved externals */
# elif defined(QT_DLL) /* use a TQt DLL library */
-# define Q_EXPORT __declspec(dllimport)
+# define TQ_EXPORT __declspec(dllimport)
# define Q_TEMPLATEDLL
# ifndef Q_TEMPLATE_EXTERN
# if defined(Q_CC_MSVC_NET)
@@ -864,7 +864,7 @@ class TQString;
# endif
#elif defined(Q_OS_LINUX) && defined(Q_CC_BOR)
# if defined(QT_SHARED) /* create a TQt shared library */
-# define Q_EXPORT __declspec(dllexport)
+# define TQ_EXPORT __declspec(dllexport)
# define Q_TEMPLATEDLL
# define Q_TEMPLATE_EXTERN
# undef TQ_DISABLE_COPY /* avoid unresolved externals */
@@ -874,7 +874,7 @@ class TQString;
# undef TQ_DISABLE_COPY /* avoid unresolved externals */
# endif
#elif defined(Q_CC_GNU) && __GNUC__ - 0 >= 4
-# define Q_EXPORT __attribute__((visibility("default")))
+# define TQ_EXPORT __attribute__((visibility("default")))
# undef QT_MAKEDLL /* ignore these for other platforms */
# undef QT_DLL
#else
@@ -882,8 +882,8 @@ class TQString;
# undef QT_DLL
#endif
-#ifndef Q_EXPORT
-# define Q_EXPORT
+#ifndef TQ_EXPORT
+# define TQ_EXPORT
#endif
@@ -892,7 +892,7 @@ class TQString;
//
#if defined(Q_WS_WIN)
-extern Q_EXPORT bool qt_winunicode;
+extern TQ_EXPORT bool qt_winunicode;
#endif
@@ -900,13 +900,13 @@ extern Q_EXPORT bool qt_winunicode;
// System information
//
-Q_EXPORT const char *tqVersion();
-Q_EXPORT bool tqSysInfo( int *wordSize, bool *bigEndian );
-Q_EXPORT bool tqSharedBuild();
+TQ_EXPORT const char *tqVersion();
+TQ_EXPORT bool tqSysInfo( int *wordSize, bool *bigEndian );
+TQ_EXPORT bool tqSharedBuild();
#if defined(Q_OS_MAC)
int qMacVersion();
#elif defined(Q_WS_WIN)
-Q_EXPORT int qWinVersion();
+TQ_EXPORT int qWinVersion();
#if defined(UNICODE)
#define QT_WA( uni, ansi ) if ( qt_winunicode ) { uni } else { ansi }
#define QT_WA_INLINE( uni, ansi ) ( qt_winunicode ? uni : ansi )
@@ -961,31 +961,31 @@ Q_EXPORT int qWinVersion();
#endif
-Q_EXPORT void tqDebug( const TQString& ); // print debug message
-Q_EXPORT void tqDebug( const TQCString& ); // print debug message
-Q_EXPORT void tqDebug( const char *, ... ) // print debug message
+TQ_EXPORT void tqDebug( const TQString& ); // print debug message
+TQ_EXPORT void tqDebug( const TQCString& ); // print debug message
+TQ_EXPORT void tqDebug( const char *, ... ) // print debug message
#if defined(Q_CC_GNU) && !defined(__INSURE__)
__attribute__ ((format (printf, 1, 2)))
#endif
;
-Q_EXPORT void tqWarning( const TQString& ); // print warning message
-Q_EXPORT void tqWarning( const TQCString& ); // print warning message
-Q_EXPORT void tqWarning( const char *, ... ) // print warning message
+TQ_EXPORT void tqWarning( const TQString& ); // print warning message
+TQ_EXPORT void tqWarning( const TQCString& ); // print warning message
+TQ_EXPORT void tqWarning( const char *, ... ) // print warning message
#if defined(Q_CC_GNU) && !defined(__INSURE__)
__attribute__ ((format (printf, 1, 2)))
#endif
;
-Q_EXPORT void tqFatal( const TQString& ); // print fatal message and exit
-Q_EXPORT void tqFatal( const TQCString& ); // print fatal message and exit
-Q_EXPORT void tqFatal( const char *, ... ) // print fatal message and exit
+TQ_EXPORT void tqFatal( const TQString& ); // print fatal message and exit
+TQ_EXPORT void tqFatal( const TQCString& ); // print fatal message and exit
+TQ_EXPORT void tqFatal( const char *, ... ) // print fatal message and exit
#if defined(Q_CC_GNU)
__attribute__ ((format (printf, 1, 2)))
#endif
;
-Q_EXPORT void tqSystemWarning( const char *, int code = -1 );
+TQ_EXPORT void tqSystemWarning( const char *, int code = -1 );
#if !defined(Q_ASSERT)
@@ -1009,7 +1009,7 @@ Q_EXPORT void tqSystemWarning( const char *, int code = -1 );
#endif // TQT_NO_COMPAT
-Q_EXPORT bool tqt_check_pointer( bool c, const char *, int );
+TQ_EXPORT bool tqt_check_pointer( bool c, const char *, int );
#if defined(QT_CHECK_NULL)
# define TQ_CHECK_PTR(p) (tqt_check_pointer((p)==0,__FILE__,__LINE__))
@@ -1020,34 +1020,34 @@ Q_EXPORT bool tqt_check_pointer( bool c, const char *, int );
enum TQtMsgType { TQtDebugMsg, TQtWarningMsg, TQtFatalMsg };
typedef void (*TQtMsgHandler)(TQtMsgType, const char *);
-Q_EXPORT TQtMsgHandler qInstallMsgHandler( TQtMsgHandler );
+TQ_EXPORT TQtMsgHandler qInstallMsgHandler( TQtMsgHandler );
#if !defined(TQT_NO_COMPAT) // compatibility with TQt 2
typedef TQtMsgHandler msg_handler;
#endif // TQT_NO_COMPAT
-Q_EXPORT void tqSuppressObsoleteWarnings( bool = TRUE );
+TQ_EXPORT void tqSuppressObsoleteWarnings( bool = TRUE );
-Q_EXPORT void tqObsolete( const char *obj, const char *oldfunc,
+TQ_EXPORT void tqObsolete( const char *obj, const char *oldfunc,
const char *newfunc );
-Q_EXPORT void tqObsolete( const char *obj, const char *oldfunc );
-Q_EXPORT void tqObsolete( const char *message );
+TQ_EXPORT void tqObsolete( const char *obj, const char *oldfunc );
+TQ_EXPORT void tqObsolete( const char *message );
//
// Install paths from configure
//
-Q_EXPORT const char *tqInstallPath();
-Q_EXPORT const char *tqInstallPathDocs();
-Q_EXPORT const char *tqInstallPathHeaders();
-Q_EXPORT const char *tqInstallPathLibs();
-Q_EXPORT const char *tqInstallPathBins();
-Q_EXPORT const char *tqInstallPathPlugins();
-Q_EXPORT const char *tqInstallPathData();
-Q_EXPORT const char *tqInstallPathTranslations();
-Q_EXPORT const char *tqInstallPathSysconf();
-Q_EXPORT const char *tqInstallPathShare();
+TQ_EXPORT const char *tqInstallPath();
+TQ_EXPORT const char *tqInstallPathDocs();
+TQ_EXPORT const char *tqInstallPathHeaders();
+TQ_EXPORT const char *tqInstallPathLibs();
+TQ_EXPORT const char *tqInstallPathBins();
+TQ_EXPORT const char *tqInstallPathPlugins();
+TQ_EXPORT const char *tqInstallPathData();
+TQ_EXPORT const char *tqInstallPathTranslations();
+TQ_EXPORT const char *tqInstallPathSysconf();
+TQ_EXPORT const char *tqInstallPathShare();
#endif /* __cplusplus */