diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2018-09-24 17:03:23 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2018-09-24 17:03:23 +0200 |
commit | ff63338d189a49a16b29a503ba23727cfa7e2e66 (patch) | |
tree | c6e82e67044286fe4471e97c8f079a2d205f979a /src/tools/ntqglobal.h | |
parent | 02964eb384e1b5a73a198d04262497607d81e38f (diff) | |
download | tqt3-ff63338d189a49a16b29a503ba23727cfa7e2e66.tar.gz tqt3-ff63338d189a49a16b29a503ba23727cfa7e2e66.zip |
Always build with a clean namespace
QT_CLEAN_NAMESPACE constant is no more needed
This may theoretically affect applications created for Qt1 and Qt2,
but such applications require further modifications as well.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src/tools/ntqglobal.h')
-rw-r--r-- | src/tools/ntqglobal.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/src/tools/ntqglobal.h b/src/tools/ntqglobal.h index db41468f1..f7613a2a0 100644 --- a/src/tools/ntqglobal.h +++ b/src/tools/ntqglobal.h @@ -702,16 +702,6 @@ inline int tqRound( double d ) // Size-dependent types (architechture-dependent byte order) // -#if !defined(QT_CLEAN_NAMESPACE) -// source compatibility with TQt 1.x -typedef signed char INT8; // 8 bit signed -typedef unsigned char UINT8; // 8 bit unsigned -typedef short INT16; // 16 bit signed -typedef unsigned short UINT16; // 16 bit unsigned -typedef int INT32; // 32 bit signed -typedef unsigned int UINT32; // 32 bit unsigned -#endif - typedef signed char TQ_INT8; // 8 bit signed typedef unsigned char TQ_UINT8; // 8 bit unsigned typedef short TQ_INT16; // 16 bit signed @@ -989,28 +979,6 @@ Q_EXPORT void tqFatal( const char *, ... ) // print fatal message and exit Q_EXPORT void tqSystemWarning( const char *, int code = -1 ); -#if !defined(QT_CLEAN_NAMESPACE) // compatibility with TQt 1 - -Q_EXPORT void debug( const char *, ... ) // print debug message -#if defined(Q_CC_GNU) && !defined(__INSURE__) - __attribute__ ((format (printf, 1, 2))) -#endif -; - -Q_EXPORT void warning( const char *, ... ) // print warning message -#if defined(Q_CC_GNU) && !defined(__INSURE__) - __attribute__ ((format (printf, 1, 2))) -#endif -; - -Q_EXPORT void fatal( const char *, ... ) // print fatal message and exit -#if defined(Q_CC_GNU) && !defined(__INSURE__) - __attribute__ ((format (printf, 1, 2))) -#endif -; - -#endif // QT_CLEAN_NAMESPACE - #if !defined(Q_ASSERT) # if defined(QT_CHECK_STATE) |