Diffstat (limited to 'noncore/net/wellenreiter/gui/logwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/logwindow.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/gui/logwindow.h b/noncore/net/wellenreiter/gui/logwindow.h index 6e0fe50..da8c274 100644 --- a/noncore/net/wellenreiter/gui/logwindow.h +++ b/noncore/net/wellenreiter/gui/logwindow.h @@ -28,13 +28,18 @@ class MLogWindow: public QVBox MLogWindow( QWidget * parent = 0, const char * name = "MLogWindow", WFlags f = 0 ); void log( QString text ); const QString getLog() const; void clear(); + static MLogWindow* logwindow() { return MLogWindow::_instance; }; + protected: QMultiLineEdit* ledit; + private: + static MLogWindow* _instance; + }; #endif |