Changeset View
Changeset View
Standalone View
Standalone View
src/filter/kmfilteraccountlist.h
Show All 11 Lines | 1 | /* | |||
---|---|---|---|---|---|
12 | 12 | | |||
13 | You should have received a copy of the GNU General Public License along | 13 | You should have received a copy of the GNU General Public License along | ||
14 | with this program; if not, write to the Free Software Foundation, Inc., | 14 | with this program; if not, write to the Free Software Foundation, Inc., | ||
15 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 15 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
16 | */ | 16 | */ | ||
17 | 17 | | |||
18 | #ifndef KMFILTERACCOUNTLIST_H | 18 | #ifndef KMFILTERACCOUNTLIST_H | ||
19 | #define KMFILTERACCOUNTLIST_H | 19 | #define KMFILTERACCOUNTLIST_H | ||
20 | | ||||
20 | #include <QTreeWidget> | 21 | #include <QTreeWidget> | ||
22 | | ||||
23 | #include "mailcommon_private_export.h" | ||||
24 | | ||||
21 | namespace MailCommon | 25 | namespace MailCommon | ||
22 | { | 26 | { | ||
23 | class MailFilter; | 27 | class MailFilter; | ||
24 | class KMFilterAccountList : public QTreeWidget | 28 | class MAILCOMMON_TESTS_EXPORT KMFilterAccountList : public QTreeWidget | ||
25 | { | 29 | { | ||
26 | Q_OBJECT | 30 | Q_OBJECT | ||
27 | public: | 31 | public: | ||
28 | explicit KMFilterAccountList(QWidget *parent); | 32 | explicit KMFilterAccountList(QWidget *parent); | ||
29 | ~KMFilterAccountList(); | 33 | ~KMFilterAccountList(); | ||
30 | 34 | | |||
31 | void updateAccountList(MailCommon::MailFilter *filter); | 35 | void updateAccountList(MailCommon::MailFilter *filter); | ||
32 | void applyOnAccount(MailCommon::MailFilter *filter); | 36 | void applyOnAccount(MailCommon::MailFilter *filter); | ||
33 | void applyOnAccount(const QStringList &lst); | 37 | void applyOnAccount(const QStringList &lst); | ||
34 | 38 | | |||
35 | QStringList selectedAccount(); | 39 | QStringList selectedAccount(); | ||
36 | }; | 40 | }; | ||
37 | } | 41 | } | ||
38 | 42 | | |||
39 | #endif // KMFILTERACCOUNTLIST_H | 43 | #endif // KMFILTERACCOUNTLIST_H |