diff options
author | Michele Calgaro <[email protected]> | 2019-05-23 13:12:27 +0900 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2021-12-30 00:01:56 +0100 |
commit | 3823c75b929667be742871103295ed225fb570f8 (patch) | |
tree | 00bd7cce769bf42838687eda575bb5c918805c96 /src/tools/ntqglobal.h | |
parent | dc6b2e3d45b166c8aaa9946bfdda23fdc2a7b22b (diff) | |
download | tqt3-3823c75b929667be742871103295ed225fb570f8.tar.gz tqt3-3823c75b929667be742871103295ed225fb570f8.zip |
Added utility functions tqDebug/tqWarning/tqFatal based on TQString parameter.
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit d63a113c5c0f9d43d71fc6486244b4382459a07a)
Diffstat (limited to 'src/tools/ntqglobal.h')
-rw-r--r-- | src/tools/ntqglobal.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/tools/ntqglobal.h b/src/tools/ntqglobal.h index bc67fcae4..9b0dbed20 100644 --- a/src/tools/ntqglobal.h +++ b/src/tools/ntqglobal.h @@ -754,7 +754,7 @@ typedef TQ_UINT64 TQ_ULLONG; // unsigned long long // class TQDataStream; - +class TQString; // // Feature subsetting @@ -975,19 +975,22 @@ Q_EXPORT int qWinVersion(); #endif -Q_EXPORT void tqDebug( const char *, ... ) // print debug message +Q_EXPORT void tqDebug( const TQString& ); // print debug message +Q_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 char *, ... ) // print warning message +Q_EXPORT void tqWarning( const TQString& ); // print warning message +Q_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 char *, ... ) // print fatal message and exit +Q_EXPORT void tqFatal( const TQString& ); // print fatal message and exit +Q_EXPORT void tqFatal( const char *, ... ) // print fatal message and exit #if defined(Q_CC_GNU) __attribute__ ((format (printf, 1, 2))) #endif |