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
|
|
|
*/
|
|
|
|
|
2013-11-23 00:39:10 +00:00
|
|
|
#ifndef SHARE_CONFIG_H
|
|
|
|
#define SHARE_CONFIG_H
|
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-04-17 18:10:08 +01:00
|
|
|
ShareConfig(QObject *parent, const QVariantList &);
|
2016-06-20 08:05:02 +01:00
|
|
|
~ShareConfig() override;
|
2013-09-10 18:01:46 +01:00
|
|
|
|
2013-11-23 00:39:10 +00:00
|
|
|
public Q_SLOTS:
|
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
|
|
|
};
|
2013-09-10 18:01:46 +01:00
|
|
|
|
2013-11-23 00:39:10 +00:00
|
|
|
#endif
|