File indexing completed on 2024-12-29 04:54:51
0001 /* 0002 SPDX-FileCopyrightText: 2016-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "ksieveui_export.h" 0010 #include <QWidget> 0011 namespace KSieveCore 0012 { 0013 class SieveImapAccountSettings; 0014 } 0015 namespace KSieveUi 0016 { 0017 /** 0018 * @brief The AbstractMoveImapFolderWidget class 0019 * @author Laurent Montel <montel@kde.org> 0020 */ 0021 class KSIEVEUI_EXPORT AbstractMoveImapFolderWidget : public QWidget 0022 { 0023 Q_OBJECT 0024 public: 0025 explicit AbstractMoveImapFolderWidget(QWidget *parent = nullptr); 0026 ~AbstractMoveImapFolderWidget() override; 0027 0028 virtual void setText(const QString &str) = 0; 0029 virtual QString text() const = 0; 0030 virtual void setSieveImapAccountSettings(const KSieveCore::SieveImapAccountSettings &account) = 0; 0031 Q_SIGNALS: 0032 void textChanged(const QString &); 0033 }; 0034 }