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
|
|
|
*/
|
|
|
|
|
2016-05-25 19:49:13 +01:00
|
|
|
#ifndef SENDNOTIFICATIONS_CONFIG_H
|
|
|
|
#define SENDNOTIFICATIONS_CONFIG_H
|
2015-12-05 22:11:57 +00:00
|
|
|
|
|
|
|
#include "kcmplugin/kdeconnectpluginkcm.h"
|
|
|
|
|
2022-09-10 22:23:52 +01:00
|
|
|
namespace Ui
|
|
|
|
{
|
|
|
|
class SendNotificationsConfigUi;
|
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:
|
2022-09-10 22:23:52 +01:00
|
|
|
SendNotificationsConfig(QWidget *parent, const QVariantList &);
|
2016-06-20 08:05:02 +01:00
|
|
|
~SendNotificationsConfig() override;
|
2015-12-05 22:11:57 +00:00
|
|
|
|
|
|
|
public Q_SLOTS:
|
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 Q_SLOTS:
|
|
|
|
void loadApplications();
|
|
|
|
|
|
|
|
private:
|
2022-09-10 22:23:52 +01:00
|
|
|
Ui::SendNotificationsConfigUi *m_ui;
|
|
|
|
NotifyingApplicationModel *appModel;
|
2015-12-05 22:11:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|