Mailcommon

accountconfigorderdialog.h
1/*
2 SPDX-FileCopyrightText: 2012-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 <QDialog>
11
12namespace MailCommon
13{
14class AccountConfigOrderDialogPrivate;
15class MailCommonSettings;
16/**
17 * @brief The AccountConfigOrderDialog class
18 * @author Laurent Montel <montel@kde.org>
19 */
20class MAILCOMMON_EXPORT AccountConfigOrderDialog : public QDialog
21{
22 Q_OBJECT
23public:
24 explicit AccountConfigOrderDialog(MailCommon::MailCommonSettings *settings, QWidget *parent);
26
27private:
28 MAILCOMMON_NO_EXPORT void slotOk();
29 MAILCOMMON_NO_EXPORT void slotMoveUp();
30 MAILCOMMON_NO_EXPORT void slotMoveDown();
31 MAILCOMMON_NO_EXPORT void slotEnableControls();
32 MAILCOMMON_NO_EXPORT void slotEnableAccountOrder(bool state);
33 enum Type {
34 IdentifierAccount = Qt::UserRole + 1,
35 };
36
37 MAILCOMMON_NO_EXPORT void writeConfig();
38 MAILCOMMON_NO_EXPORT void readConfig();
39 MAILCOMMON_NO_EXPORT void init();
40 std::unique_ptr<AccountConfigOrderDialogPrivate> const d;
41};
42}
The AccountConfigOrderDialog class.
The filter dialog.
UserRole
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:12:19 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.