You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
711 B
30 lines
711 B
/* |
|
SPDX-FileCopyrightText: 2018 Daniel Vrátil <dvratil@kde.org> |
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later |
|
*/ |
|
|
|
#ifndef UNIFIEDMAILBOXEDITOR_H |
|
#define UNIFIEDMAILBOXEDITOR_H |
|
|
|
#include <QDialog> |
|
|
|
#include "unifiedmailboxmanager.h" |
|
|
|
class UnifiedMailbox; |
|
class UnifiedMailboxEditor : public QDialog |
|
{ |
|
Q_OBJECT |
|
public: |
|
explicit UnifiedMailboxEditor(const KSharedConfigPtr &config, QWidget *parent = nullptr); |
|
explicit UnifiedMailboxEditor(UnifiedMailbox *mailbox, const KSharedConfigPtr &config, QWidget *parent = nullptr); |
|
|
|
~UnifiedMailboxEditor() override; |
|
private: |
|
void writeConfig(); |
|
void readConfig(); |
|
UnifiedMailbox *const mMailbox; |
|
KSharedConfigPtr mConfig; |
|
}; |
|
|
|
#endif
|
|
|