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

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 "../sylpheed/sylpheedsettings.h"
0010 
0011 class KConfigGroup;
0012 
0013 class ClawsMailSettings : public SylpheedSettings
0014 {
0015 public:
0016     ClawsMailSettings();
0017     ~ClawsMailSettings() override;
0018 
0019     void importSettings(const QString &filename, const QString &path) override;
0020 
0021 protected:
0022     // Reimplement from sylpheed
0023     void readSettingsColor(const KConfigGroup &group) override;
0024     void readTemplateFormat(const KConfigGroup &group) override;
0025     void readGlobalSettings(const KConfigGroup &group) override;
0026     void readTagColor(const KConfigGroup &group) override;
0027 
0028 private:
0029     QString writeColor(const QColor &col);
0030 };