BCESolve
|
Redirects all couts in the program to the log tab. More...
#include <bcelogstream.hpp>
Public Member Functions | |
BCELogStream (std::ostream &stream, QTextEdit *text_edit) | |
Constructor. | |
~BCELogStream () | |
Destructor. | |
Protected Member Functions | |
virtual int_type | overflow (int_type v) |
virtual std::streamsize | xsputn (const char *p, std::streamsize n) |
Redirects all couts in the program to the log tab.
This class, initialized in main, redirects all couts to the QTextEdit in the log tab. This class contains QMetaObject calls in order to redirect couts from other threads.