2
Copyright (c) 2007 Till Adam <adam@kde.org>
4
This program is free software; you can redistribute it and/or modify it
5
under the terms of the GNU General Public License, version 2, as
6
published by the Free Software Foundation.
8
This program is distributed in the hope that it will be useful, but
9
WITHOUT ANY WARRANTY; without even the implied warranty of
10
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
General Public License for more details.
13
You should have received a copy of the GNU General Public License
14
along with this program; if not, write to the Free Software
15
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17
In addition, as a special exception, the copyright holders give
18
permission to link the code of this program with any edition of
19
the Qt library by Trolltech AS, Norway (or with modified versions
20
of Qt that use the same license as Qt), and distribute linked
21
combinations including the two. You must obey the GNU General
22
Public License in all respects for all of the code used other than
23
Qt. If you modify this file, you may extend this exception to
24
your version of the file, but you are not obligated to do so. If
25
you do not wish to do so, delete this exception statement from
29
#ifndef MAILCOMMON_FILTERIMPORTEREXPORTER_P_H
30
#define MAILCOMMON_FILTERIMPORTEREXPORTER_P_H
41
namespace MailCommon {
45
class FilterSelectionDialog : public KDialog
50
FilterSelectionDialog( QWidget * parent = 0 );
51
virtual ~FilterSelectionDialog();
52
void setFilters( const QList<MailFilter*> &filters );
53
QList<MailFilter*> selectedFilters() const;
56
void slotUnselectAllButton();
57
void slotSelectAllButton();
60
QListWidget *filtersListWidget;
61
QList<MailFilter*> originalFilters;
62
KPushButton *selectAllButton;
63
KPushButton *unselectAllButton;