one entry for korganizer in khelpcenters navigation tree is enough
[kdepim.git] / kmailcvt / kselfilterpage.h
blob79b22b7aee062b9b1df9376ed98ca3ded7fb28cb
1 /***************************************************************************
2 kselfilterpage.h - description
3 -------------------
4 begin : Fri Jan 17 2003
5 copyright : (C) 2003 by Laurence Anderson
6 email : l.d.anderson@warwick.ac.uk
7 ***************************************************************************/
9 /***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 ***************************************************************************/
18 #ifndef KSELFILTERPAGE_H
19 #define KSELFILTERPAGE_H
21 #include "ui_kselfilterpagedlg.h"
22 #include <QList>
23 class Filter;
26 class KSelFilterPageDlg : public QWidget, public Ui::KSelFilterPageDlg
28 public:
29 KSelFilterPageDlg( QWidget *parent ) : QWidget( parent ) {
30 setupUi( this );
35 class KSelFilterPage : public KSelFilterPageDlg {
36 Q_OBJECT
37 public:
38 KSelFilterPage(QWidget *parent=0);
39 ~KSelFilterPage();
40 public:
41 void addFilter(Filter *f);
42 Filter *getSelectedFilter(void);
43 bool removeDupMsg_checked() const;
44 private:
45 QList<Filter*> mFilterList;
46 private slots:
47 void filterSelected(int i);
50 #endif