diff options
author | Michele Calgaro <[email protected]> | 2019-05-23 13:45:53 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2019-05-23 13:45:53 +0900 |
commit | 2c29133f7ee2a270da8d8504345390a1d60e80fa (patch) | |
tree | 8331a09fab028dadf71a8d970c41ab241bac10b4 /src/tools/qglobal.h | |
parent | 3ae061484d7a4098029d54af72963a163f421312 (diff) | |
download | qt3-2c29133f7ee2a270da8d8504345390a1d60e80fa.tar.gz qt3-2c29133f7ee2a270da8d8504345390a1d60e80fa.zip |
Added utility functions qDebug/qWarning/qFatal based on QString parameter.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/tools/qglobal.h')
-rw-r--r-- | src/tools/qglobal.h | 11 |
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 |