2 Copyright (c) 2003 Andreas Gungl <a.gungl@gmx.de>
3 Copyright (c) 2012-2013 Laurent Montel <montel@kde.org>
5 KMail is free software; you can redistribute it and/or modify it
6 under the terms of the GNU General Public License, version 2, as
7 published by the Free Software Foundation.
9 KMail is distributed in the hope that it will be useful, but
10 WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 In addition, as a special exception, the copyright holders give
19 permission to link the code of this program with any edition of
20 the Qt library by Trolltech AS, Norway (or with modified versions
21 of Qt that use the same license as Qt), and distribute linked
22 combinations including the two. You must obey the GNU General
23 Public License in all respects for all of the code used other than
24 Qt. If you modify this file, you may extend this exception to
25 your version of the file, but you are not obligated to do so. If
26 you do not wish to do so, delete this exception statement from
29 #ifndef FILTERLOGDIALOG_H
30 #define FILTERLOGDIALOG_H
39 @short KMail Filter Log Collector.
40 @author Andreas Gungl <a.gungl@gmx.de>
42 The filter log dialog allows a continued observation of the
43 filter log of MailFilterAgent.
46 class PlainTextEditorWidget
;
48 class FilterLogDialog
: public KDialog
54 explicit FilterLogDialog( QWidget
* parent
);
57 void slotLogEntryAdded( const QString
& logEntry
);
58 void slotLogShrinked();
59 void slotLogStateChanged();
60 void slotChangeLogDetail();
61 void slotSwitchLogState();
62 void slotChangeLogMemLimit( int value
);
70 PimCommon::PlainTextEditorWidget
* mTextEdit
;
71 QCheckBox
* mLogActiveBox
;
72 QGroupBox
* mLogDetailsBox
;
73 QCheckBox
* mLogPatternDescBox
;
74 QCheckBox
* mLogRuleEvaluationBox
;
75 QCheckBox
* mLogPatternResultBox
;
76 QCheckBox
* mLogFilterActionBox
;
77 QSpinBox
* mLogMemLimitSpin
;
80 void slotTextChanged();