File indexing completed on 2024-04-28 05:10:44
0001 /* 0002 This file is part of Akregator. 0003 SPDX-FileCopyrightText: 2008 Frank Osterfeld <osterfeld@kde.org> 0004 0005 SPDX-License-Identifier: GPL-2.0-or-later WITH Qt-Commercial-exception-1.0 0006 */ 0007 0008 #pragma once 0009 0010 #include <KCModule> 0011 #include <QVariant> 0012 0013 #include "akregatorconfig.h" 0014 0015 class QButtonGroup; 0016 0017 class KCMAkregatorArchiveConfig : public KCModule 0018 { 0019 Q_OBJECT 0020 0021 public: 0022 explicit KCMAkregatorArchiveConfig(QObject *parent, const KPluginMetaData &data); 0023 0024 void setArchiveMode(int mode); 0025 int archiveMode() const; 0026 0027 void load() override; 0028 void save() override; 0029 0030 private: 0031 QWidget *const m_widget; 0032 QButtonGroup *m_archiveModeGroup = nullptr; 0033 };