From 184e489744f0232e6a240fcb33c21ac852ed4e35 Mon Sep 17 00:00:00 2001 From: Elvio Basello Date: Thu, 7 Apr 2011 20:09:02 +0000 Subject: initial implementation of #934: added the ability to export the log to plain text. this is still a wip git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5762 17fca916-40b9-46aa-a4ea-0a15b648b75c --- src/modules/logview/LogViewWidget.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/modules/logview/LogViewWidget.h') diff --git a/src/modules/logview/LogViewWidget.h b/src/modules/logview/LogViewWidget.h index 66ce64019..f7fb5621a 100644 --- a/src/modules/logview/LogViewWidget.h +++ b/src/modules/logview/LogViewWidget.h @@ -28,10 +28,8 @@ #include "LogViewWindow.h" #include "KviWindow.h" -#include "KviScriptEditor.h" -#include -class KviScriptEditor; +#include class LogListViewItem : public QTreeWidgetItem { @@ -40,8 +38,10 @@ public: LogListViewItem(QTreeWidget * par, LogFile::Type type, LogFile * fileData); ~LogListViewItem() {}; public: - LogFile::Type m_type; - LogFile* m_pFileData; + LogFile::Type m_type; + LogFile * m_pFileData; +public: + LogFile * log(){ return m_pFileData; }; virtual QString fileName() const { return QString(); }; }; @@ -60,7 +60,6 @@ public: ~LogListViewItemType() {}; }; - class LogListViewLog : public LogListViewItem { public: -- cgit v1.3.1-10-gc9f91