diff options
Diffstat (limited to 'src/corelib/io/qdebug.cpp')
| -rw-r--r-- | src/corelib/io/qdebug.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/corelib/io/qdebug.cpp b/src/corelib/io/qdebug.cpp index 28d8548300d..b1ebf097cf7 100644 --- a/src/corelib/io/qdebug.cpp +++ b/src/corelib/io/qdebug.cpp @@ -663,6 +663,23 @@ QDebug &QDebug::resetFormat() */ /*! + \since 6.0 + \fn QDebug &QDebug::operator<<(QUtf8StringView s) + + Writes the string view, \a s, to the stream and returns a reference to the + stream. + + Normally, QDebug prints the data inside quotes and transforms control or + non-US-ASCII characters to their C escape sequences (\\xAB). This way, the + output is always 7-bit clean and the string can be copied from the output + and pasted back into C++ sources, if necessary. + + To print non-printable characters without transformation, enable the + noquote() functionality. Note that some QDebug backends might not be 8-bit + clean. +*/ + +/*! \fn QDebug &QDebug::operator<<(QLatin1String t) Writes the string, \a t, to the stream and returns a reference to the |
