summaryrefslogtreecommitdiff
path: root/noncore/net/wellenreiter/gui/logwindow.h
Unidiff
Diffstat (limited to 'noncore/net/wellenreiter/gui/logwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/logwindow.h5
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
28 MLogWindow( QWidget * parent = 0, const char * name = "MLogWindow", WFlags f = 0 ); 28 MLogWindow( QWidget * parent = 0, const char * name = "MLogWindow", WFlags f = 0 );
29 29
30 void log( QString text ); 30 void log( QString text );
31 const QString getLog() const; 31 const QString getLog() const;
32 void clear(); 32 void clear();
33 33
34 static MLogWindow* logwindow() { return MLogWindow::_instance; };
35
34 protected: 36 protected:
35 QMultiLineEdit* ledit; 37 QMultiLineEdit* ledit;
36 38
39 private:
40 static MLogWindow* _instance;
41
37}; 42};
38 43
39#endif 44#endif
40 45