Diffstat (limited to 'noncore/net/wellenreiter/gui/logwindow.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/logwindow.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/noncore/net/wellenreiter/gui/logwindow.cpp b/noncore/net/wellenreiter/gui/logwindow.cpp index c355f09..f132f56 100644 --- a/noncore/net/wellenreiter/gui/logwindow.cpp +++ b/noncore/net/wellenreiter/gui/logwindow.cpp @@ -24,7 +24,7 @@ MLogWindow::MLogWindow( QWidget * parent, const char * name, WFlags f ) // FIXME: Set properties( font, read-only, etc...) -}; +} void MLogWindow::log( QString text ) { @@ -34,6 +34,9 @@ void MLogWindow::log( QString text ) ledit->append( line ); qDebug( line ); -}; - +} +const QString MLogWindow::getLog() const +{ + return ledit->text(); +} |