File indexing completed on 2024-12-22 05:01:13

0001 /*
0002   This file is part of KDE Kontact.
0003 
0004   SPDX-FileCopyrightText: 2004 Tobias Koenig <tokoe@kde.org>
0005   SPDX-FileCopyrightText: 2008 Allen Winter <winter@kde.org>
0006 
0007   SPDX-License-Identifier: GPL-2.0-or-later WITH Qt-Commercial-exception-1.0
0008 */
0009 
0010 #pragma once
0011 #include <KCModule>
0012 #include <QTreeWidget>
0013 
0014 class PluginView : public QTreeWidget
0015 {
0016     Q_OBJECT
0017 
0018 public:
0019     explicit PluginView(QWidget *parent);
0020     ~PluginView() override;
0021 };
0022 
0023 class KCMKontactSummary : public KCModule
0024 {
0025     Q_OBJECT
0026 
0027 public:
0028     explicit KCMKontactSummary(QObject *parent, const KPluginMetaData &data);
0029 
0030     void load() override;
0031     void save() override;
0032 
0033 private:
0034     PluginView *const mPluginView;
0035 };