Mailcommon

collectiongeneralwidget.h
1/*
2 SPDX-FileCopyrightText: 2020-2024 Laurent Montel <montel@kde.org>
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>
12class QCheckBox;
13namespace KIdentityManagementWidgets
14{
15class IdentityCombo;
16}
17namespace MailCommon
18{
19class FolderSettings;
20class MAILCOMMON_EXPORT CollectionGeneralWidget : public QWidget
21{
22 Q_OBJECT
23public:
24 explicit CollectionGeneralWidget(QWidget *parent = nullptr);
25 ~CollectionGeneralWidget() override;
27 void load(const Akonadi::Collection &col);
28
29private:
30 MAILCOMMON_NO_EXPORT void slotIdentityCheckboxChanged();
31 QCheckBox *mNotifyOnNewMailCheckBox = nullptr;
32 QCheckBox *mKeepRepliesInSameFolderCheckBox = nullptr;
33 QCheckBox *mHideInSelectionDialogCheckBox = nullptr;
34 QCheckBox *mUseDefaultIdentityCheckBox = nullptr;
35 KIdentityManagementWidgets::IdentityCombo *mIdentityComboBox = nullptr;
37};
38}
QAction * load(const QObject *recvr, const char *slot, QObject *parent)
QAction * save(const QObject *recvr, const char *slot, QObject *parent)
The filter dialog.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 13 2024 11:49:10 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.