26 #ifndef ConsoleStream_H
27 #define ConsoleStream_H
73 init(stream, textEdit);
106 void init(std::ostream *stream, QTextEdit* textEdit) {
130 virtual std::streamsize
xsputn(
const char *p, std::streamsize n) {
133 std::string::size_type pos = 0;
134 while (pos != std::string::npos) {
136 if (pos != std::string::npos) {