2018-03-29 00:46:12 +01:00
|
|
|
/**
|
2020-08-17 10:48:10 +01:00
|
|
|
* SPDX-FileCopyrightText: 2018 Friedrich W. H. Kossebau <kossebau@kde.org>
|
2018-03-29 00:46:12 +01: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
|
2018-03-29 00:46:12 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef FINDTHISDEVICE_CONFIG_H
|
|
|
|
#define FINDTHISDEVICE_CONFIG_H
|
|
|
|
|
|
|
|
#include <kcmplugin/kdeconnectpluginkcm.h>
|
|
|
|
|
2022-09-10 22:23:52 +01:00
|
|
|
namespace Ui
|
|
|
|
{
|
2018-03-29 00:46:12 +01:00
|
|
|
class FindThisDeviceConfigUi;
|
|
|
|
}
|
|
|
|
|
2022-09-10 22:23:52 +01:00
|
|
|
class FindThisDeviceConfig : public KdeConnectPluginKcm
|
2018-03-29 00:46:12 +01:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2023-04-17 18:10:08 +01:00
|
|
|
FindThisDeviceConfig(QObject *parent, const QVariantList &);
|
2018-03-29 00:46:12 +01:00
|
|
|
~FindThisDeviceConfig() override;
|
|
|
|
|
|
|
|
public Q_SLOTS:
|
|
|
|
void save() override;
|
|
|
|
void load() override;
|
|
|
|
void defaults() override;
|
|
|
|
|
|
|
|
private Q_SLOTS:
|
2023-07-20 14:59:08 +01:00
|
|
|
void playSound(const QUrl &soundUrl);
|
2018-03-29 00:46:12 +01:00
|
|
|
|
|
|
|
private:
|
2022-09-10 22:23:52 +01:00
|
|
|
Ui::FindThisDeviceConfigUi *m_ui;
|
2018-03-29 00:46:12 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|