summaryrefslogtreecommitdiffstats
path: root/src/tools/qglobal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/qglobal.h')
-rw-r--r--src/tools/qglobal.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/tools/qglobal.h b/src/tools/qglobal.h
index fac387c..7de3453 100644
--- a/src/tools/qglobal.h
+++ b/src/tools/qglobal.h
@@ -742,7 +742,7 @@ typedef Q_UINT64 Q_ULLONG; // unsigned long long
//
class QDataStream;
-
+class QString;
//
// Feature subsetting
@@ -957,19 +957,22 @@ Q_EXPORT int qWinVersion();
#endif
-Q_EXPORT void qDebug( const char *, ... ) // print debug message
+Q_EXPORT void qDebug( const QString& ); // print debug message
+Q_EXPORT void qDebug( const char *, ... ) // print debug message
#if defined(Q_CC_GNU) && !defined(__INSURE__)
__attribute__ ((format (printf, 1, 2)))
#endif
;
-Q_EXPORT void qWarning( const char *, ... ) // print warning message
+Q_EXPORT void qWarning( const QString& ); // print warning message
+Q_EXPORT void qWarning( const char *, ... ) // print warning message
#if defined(Q_CC_GNU) && !defined(__INSURE__)
__attribute__ ((format (printf, 1, 2)))
#endif
;
-Q_EXPORT void qFatal( const char *, ... ) // print fatal message and exit
+Q_EXPORT void qFatal( const QString& ); // print fatal message and exit
+Q_EXPORT void qFatal( const char *, ... ) // print fatal message and exit
#if defined(Q_CC_GNU)
__attribute__ ((format (printf, 1, 2)))
#endif