File indexing completed on 2024-12-29 04:54:48
0001 /* 0002 SPDX-FileCopyrightText: 2020-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 0006 */ 0007 0008 #pragma once 0009 0010 #include "ksieveui_export.h" 0011 #include <QDialog> 0012 namespace KSieveUi 0013 { 0014 class SieveInfoWidget; 0015 class KSIEVEUI_EXPORT SieveInfoDialog : public QDialog 0016 { 0017 Q_OBJECT 0018 public: 0019 explicit SieveInfoDialog(QWidget *parent = nullptr); 0020 ~SieveInfoDialog() override; 0021 void setServerInfo(const QStringList &serverInfos); 0022 0023 private: 0024 KSIEVEUI_NO_EXPORT void readConfig(); 0025 KSIEVEUI_NO_EXPORT void writeConfig(); 0026 SieveInfoWidget *const mSieveInfoWidget; 0027 }; 0028 }