diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-05-23 13:12:27 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-05-23 13:12:27 +0900 |
commit | d63a113c5c0f9d43d71fc6486244b4382459a07a (patch) | |
tree | bee6740702ab576ad86bb585d95015dc3ffb721c /src/tools/ntqglobal.h | |
parent | 835a7b87e78338bed2795a47c1abefa60935e84d (diff) | |
download | tqt3-d63a113c5c0f9d43d71fc6486244b4382459a07a.tar.gz tqt3-d63a113c5c0f9d43d71fc6486244b4382459a07a.zip |
Added utility functions tqDebug/tqWarning/tqFatal based on TQString parameter.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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 11d6db8bb..458389cfd 100644 --- a/src/tools/ntqglobal.h +++ b/src/tools/ntqglobal.h @@ -744,7 +744,7 @@ typedef TQ_UINT64 TQ_ULLONG; // unsigned long long // class TQDataStream; - +class TQString; // // Feature subsetting @@ -959,19 +959,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 |