summaryrefslogtreecommitdiffstats
path: root/src/corelib/doc/src/includes/qdebug-toString.qdocinc
blob: db1e1ab4537066002107961304e2c6e03fae095e (plain)
1
2
3
4
5
6
7
8
9
Streams \a object into a QDebug instance that operates on a string,
and then returns that string.

This function is useful for cases where you need the textual representation
of an object for debugging, but cannot use \c {operator<<}. For example:

\snippet code/src_corelib_io_qdebug.cpp toString

The string is streamed using \l nospace().