Mailcommon

kmfilteraccountlist.h
1 /*
2  SPDX-FileCopyrightText: 2014-2022 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include <QTreeWidget>
10 
11 #include "mailcommon_private_export.h"
12 
13 namespace MailCommon
14 {
15 class MailFilter;
16 class MAILCOMMON_TESTS_EXPORT KMFilterAccountList : public QTreeWidget
17 {
18  Q_OBJECT
19 public:
20  explicit KMFilterAccountList(QWidget *parent);
21  ~KMFilterAccountList() override;
22 
23  void updateAccountList(MailCommon::MailFilter *filter);
24  void applyOnAccount(MailCommon::MailFilter *filter);
25  void applyOnAccount(const QStringList &lst);
26 
27  Q_REQUIRED_RESULT QStringList selectedAccount();
28 };
29 }
The MailFilter class.
Definition: mailfilter.h:28
The filter dialog.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sat Oct 1 2022 04:00:53 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.