#include <qsconsole.h>
Public Methods | |
QSConsole () | |
virtual | ~QSConsole () |
Static Public Methods | |
void | write (const QString &message) |
Protected Methods | |
virtual void | appendText (const QString &message)=0 |
Static Protected Attributes | |
QSConsole * | m_default_console |
You will have to reimplement this class if you want to receive text messages from this library. Notice a little trick - if you create an object of this class a static pointer is set to this object. in the constructor.
|
Constructor. Calls m_default_console = this. |
|
Destructor. Calls if ( m_default_console == this ) m_default_console = NULL. |
|
You have to reimplement this function in your own custom console. |
|
Use this function to write text to the default console |
|
Pointer to the default console. It is auto set when you creates an console object. |