File indexing completed on 2025-04-20 04:33:18
0001 /** 0002 * SPDX-FileCopyrightText: 2018 Friedrich W. H. Kossebau <kossebau@kde.org> 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 "ui_findthisdevice_config.h" 0010 #include <kcmplugin/kdeconnectpluginkcm.h> 0011 0012 class FindThisDeviceConfig : public KdeConnectPluginKcm 0013 { 0014 Q_OBJECT 0015 public: 0016 FindThisDeviceConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &); 0017 0018 void save() override; 0019 void load() override; 0020 void defaults() override; 0021 0022 private: 0023 void playSound(const QUrl &soundUrl); 0024 Ui::FindThisDeviceConfigUi m_ui; 0025 };