File indexing completed on 2024-12-15 04:55:35

0001 /*
0002    SPDX-FileCopyrightText: 2017-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include "sieveeditorutil.h"
0010 
0011 #include "libsieveeditor_private_export.h"
0012 class LIBSIEVEEDITOR_TESTS_EXPORT AbstractImapSettingsPassword : public QObject
0013 {
0014     Q_OBJECT
0015 public:
0016     explicit AbstractImapSettingsPassword(QObject *parent = nullptr);
0017     ~AbstractImapSettingsPassword() override;
0018     virtual void importPasswords(const SieveEditorUtil::SieveServerConfig &config, const QString &filename, bool reuseImapSettings);
0019 Q_SIGNALS:
0020     void importPasswordDone(const SieveEditorUtil::SieveServerConfig &config, const QString &filename);
0021 
0022 protected:
0023     QString mFileName;
0024 };