12#include <QCoreApplication>
27class QDebugStream:
public QObject,
public std::basic_streambuf<char> {
50 virtual int_type
overflow(int_type v);
51 virtual std::streamsize
xsputn(
const char *p, std::streamsize n);
virtual bool event(QEvent *event)
std::streambuf * m_old_buf
virtual std::streamsize xsputn(const char *p, std::streamsize n)
QDebugStream(std::ostream &stream, QTextEdit *text_edit)
virtual int_type overflow(int_type v)