Mailcommon

collectiongeneralwidget.h
1 /*
2  SPDX-FileCopyrightText: 2020-2022 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include "mailcommon_export.h"
10 #include <Akonadi/Collection>
11 #include <QWidget>
12 class QCheckBox;
13 namespace KIdentityManagement
14 {
15 class IdentityCombo;
16 }
17 namespace MailCommon
18 {
19 class FolderSettings;
20 class MAILCOMMON_EXPORT CollectionGeneralWidget : public QWidget
21 {
22  Q_OBJECT
23 public:
24  explicit CollectionGeneralWidget(QWidget *parent = nullptr);
25  ~CollectionGeneralWidget() override;
26  void save(Akonadi::Collection &);
27  void load(const Akonadi::Collection &col);
28 
29 private:
30  void slotIdentityCheckboxChanged();
31  QCheckBox *mNotifyOnNewMailCheckBox = nullptr;
32  QCheckBox *mKeepRepliesInSameFolderCheckBox = nullptr;
33  QCheckBox *mHideInSelectionDialogCheckBox = nullptr;
34  QCheckBox *mUseDefaultIdentityCheckBox = nullptr;
35  KIdentityManagement::IdentityCombo *mIdentityComboBox = nullptr;
37 };
38 }
QAction * load(const QObject *recvr, const char *slot, QObject *parent)
const QList< QKeySequence > & save()
The filter dialog.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sat Sep 24 2022 03:58:14 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.