File indexing completed on 2024-04-21 04:56:54
0001 /** 0002 * SPDX-FileCopyrightText: 2015 Holger Kaelberer <holger.k@elberer.de> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0005 */ 0006 0007 #pragma once 0008 0009 #include "kcmplugin/kdeconnectpluginkcm.h" 0010 #include "ui_sendnotifications_config.h" 0011 0012 class NotifyingApplicationModel; 0013 0014 class SendNotificationsConfig : public KdeConnectPluginKcm 0015 { 0016 Q_OBJECT 0017 public: 0018 SendNotificationsConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &); 0019 0020 void save() override; 0021 void load() override; 0022 void defaults() override; 0023 0024 private: 0025 void loadApplications(); 0026 Ui::SendNotificationsConfigUi m_ui; 0027 NotifyingApplicationModel *appModel; 0028 };