diff options
Diffstat (limited to 'src/tools/qglobal.cpp')
| -rw-r--r-- | src/tools/qglobal.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/tools/qglobal.cpp b/src/tools/qglobal.cpp index 5c9663df5..9d7d89378 100644 --- a/src/tools/qglobal.cpp +++ b/src/tools/qglobal.cpp @@ -582,6 +582,11 @@ void warning( const char *msg, ... ) handle_buffer(buf, TQtDebugMsg); } +void tqDebug( const TQCString &s ) +{ + tqDebug(s.data()); +} + void tqWarning( const TQString &msg ) { char buf[QT_BUFFER_LENGTH]; @@ -612,6 +617,11 @@ void tqWarning( const char *msg, ... ) handle_buffer(buf, TQtWarningMsg); } +void tqWarning( const TQCString &s ) +{ + tqWarning(s.data()); +} + void tqFatal( const TQString &msg ) { char buf[QT_BUFFER_LENGTH]; @@ -677,6 +687,11 @@ void fatal( const char *msg, ... ) handle_buffer(buf, TQtFatalMsg); } +void tqFatal( const TQCString &s ) +{ + tqWarning(s.data()); +} + /*! \relates TQApplication |
