| 11 | { |
| 12 | public: |
| 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 |
nothing calls this directly
no outgoing calls
no test coverage detected