MCPcopy Create free account
hub / github.com/bupticybee/TexasSolver / QDebugStream

Method QDebugStream

include/tools/qdebugstream.h:13–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11{
12public:
13 QDebugStream(std::ostream &stream, QSTextEdit* text_edit) : m_stream(stream)
14 {
15 log_window = text_edit;
16 m_old_buf = stream.rdbuf();
17 stream.rdbuf(this);
18 }
19 ~QDebugStream()
20 {
21 // output anything that is left

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected