2015-12-05 22:11:57 +00:00
|
|
|
/**
|
2020-08-17 10:48:10 +01:00
|
|
|
* SPDX-FileCopyrightText: 2015 Holger Kaelberer <holger.k@elberer.de>
|
2015-12-05 22:11:57 +00:00
|
|
|
*
|
2020-08-17 10:48:10 +01:00
|
|
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
2015-12-05 22:11:57 +00:00
|
|
|
*/
|
|
|
|
|
2023-07-21 19:22:59 +01:00
|
|
|
#pragma once
|
2015-12-05 22:11:57 +00:00
|
|
|
|
|
|
|
#include "kcmplugin/kdeconnectpluginkcm.h"
|
2023-07-26 09:40:17 +01:00
|
|
|
#include "ui_sendnotifications_config.h"
|
2015-12-05 22:11:57 +00:00
|
|
|
|
|
|
|
class NotifyingApplicationModel;
|
|
|
|
|
2022-09-10 22:23:52 +01:00
|
|
|
class SendNotificationsConfig : public KdeConnectPluginKcm
|
2015-12-05 22:11:57 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2023-07-21 11:26:19 +01:00
|
|
|
SendNotificationsConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &);
|
2015-12-05 22:11:57 +00:00
|
|
|
|
2016-06-20 08:05:02 +01:00
|
|
|
void save() override;
|
|
|
|
void load() override;
|
|
|
|
void defaults() override;
|
2015-12-05 22:11:57 +00:00
|
|
|
|
|
|
|
private:
|
2023-07-21 12:04:05 +01:00
|
|
|
void loadApplications();
|
2023-07-26 09:40:17 +01:00
|
|
|
Ui::SendNotificationsConfigUi m_ui;
|
2022-09-10 22:23:52 +01:00
|
|
|
NotifyingApplicationModel *appModel;
|
2015-12-05 22:11:57 +00:00
|
|
|
};
|