Mailcommon

accountconfigorderdialog.h
1 /*
2  SPDX-FileCopyrightText: 2012-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 <QDialog>
11 
12 namespace MailCommon
13 {
14 class AccountConfigOrderDialogPrivate;
15 class MailCommonSettings;
16 /**
17  * @brief The AccountConfigOrderDialog class
18  * @author Laurent Montel <[email protected]>
19  */
20 class MAILCOMMON_EXPORT AccountConfigOrderDialog : public QDialog
21 {
22  Q_OBJECT
23 public:
24  explicit AccountConfigOrderDialog(MailCommon::MailCommonSettings *settings, QWidget *parent);
25  ~AccountConfigOrderDialog() override;
26 
27 private:
28  void slotOk();
29  void slotMoveUp();
30  void slotMoveDown();
31  void slotEnableControls();
32  void slotEnableAccountOrder(bool state);
33  enum Type {
34  IdentifierAccount = Qt::UserRole + 1,
35  };
36 
37  void writeConfig();
38  void readConfig();
39  void init();
40  std::unique_ptr<AccountConfigOrderDialogPrivate> const d;
41 };
42 }
UserRole
QCA_EXPORT void init()
The AccountConfigOrderDialog class.
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:52 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.