File indexing completed on 2024-12-22 04:52:51

0001 /*
0002    SPDX-FileCopyrightText: 2012-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include "abstractsettings.h"
0010 
0011 class QSettings;
0012 
0013 class TrojitaSettings : public AbstractSettings
0014 {
0015 public:
0016     explicit TrojitaSettings(const QString &filename);
0017     ~TrojitaSettings() override;
0018     void importSettings();
0019 
0020 private:
0021     void readImapAccount();
0022     void readIdentity();
0023     void readGlobalSettings();
0024     void readTransport();
0025     QSettings *settings = nullptr;
0026 };