summaryrefslogtreecommitdiffstats
path: root/src/tools/ntqglobal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/ntqglobal.h')
-rw-r--r--src/tools/ntqglobal.h11
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