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
|
|
|
*/
|
|
|
|
|
2023-07-21 19:22:59 +01:00
|
|
|
#pragma once
|
2018-03-29 00:46:12 +01:00
|
|
|
|
|
|
|
#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-07-21 11:26:19 +01:00
|
|
|
FindThisDeviceConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &);
|
2018-03-29 00:46:12 +01:00
|
|
|
~FindThisDeviceConfig() override;
|
|
|
|
|
|
|
|
void save() override;
|
|
|
|
void load() override;
|
|
|
|
void defaults() override;
|
|
|
|
|
|
|
|
private:
|
2023-07-20 15:03:06 +01:00
|
|
|
void playSound(const QUrl &soundUrl);
|
2022-09-10 22:23:52 +01:00
|
|
|
Ui::FindThisDeviceConfigUi *m_ui;
|
2018-03-29 00:46:12 +01:00
|
|
|
};
|