2013-11-23 00:39:10 +00:00
|
|
|
/**
|
2020-08-17 10:48:10 +01:00
|
|
|
* SPDX-FileCopyrightText: 2013 Albert Vaca <albertvaka@gmail.com>
|
2013-09-10 18:01:46 +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
|
2013-09-10 18:01:46 +01:00
|
|
|
*/
|
|
|
|
|
2023-07-21 19:22:59 +01:00
|
|
|
#pragma once
|
2013-09-10 18:01:46 +01:00
|
|
|
|
2015-03-14 04:19:39 +00:00
|
|
|
#include "kcmplugin/kdeconnectpluginkcm.h"
|
2013-11-06 21:16:55 +00:00
|
|
|
|
2022-09-10 22:23:52 +01:00
|
|
|
namespace Ui
|
|
|
|
{
|
|
|
|
class ShareConfigUi;
|
2013-11-23 00:39:10 +00:00
|
|
|
}
|
2013-09-10 18:01:46 +01:00
|
|
|
|
2022-09-10 22:23:52 +01:00
|
|
|
class ShareConfig : public KdeConnectPluginKcm
|
2013-09-10 18:01:46 +01:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2023-07-21 11:26:19 +01:00
|
|
|
ShareConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args);
|
2016-06-20 08:05:02 +01:00
|
|
|
~ShareConfig() override;
|
2013-09-10 18:01:46 +01:00
|
|
|
|
2016-06-20 08:05:02 +01:00
|
|
|
void save() override;
|
|
|
|
void load() override;
|
|
|
|
void defaults() override;
|
2013-11-23 00:39:10 +00:00
|
|
|
|
|
|
|
private:
|
2022-09-10 22:23:52 +01:00
|
|
|
Ui::ShareConfigUi *m_ui;
|
2013-11-23 00:39:10 +00:00
|
|
|
};
|