mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-27 14:33:08 +00:00
plasma-nm currently has the mobile network KCMs, but requires having a build flag in order to have them installed. This then requires distros to have multiple versions of the plasma-nm package. I think it makes sense to move them here so that packaging and development is easier.
26 lines
875 B
C++
26 lines
875 B
C++
/*
|
|
SPDX-FileCopyrightText: 2018 Martin Kacej <m.kacej@atlas.sk>
|
|
|
|
SPDX-License-Identifier: LGPL-2.0-or-later
|
|
*/
|
|
|
|
#ifndef WIFISETTINGS_H
|
|
#define WIFISETTINGS_H
|
|
|
|
#include <KQuickAddons/ConfigModule>
|
|
|
|
class WifiSettings : public KQuickAddons::ConfigModule
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
WifiSettings(QObject *parent, const KPluginMetaData &metaData, const QVariantList &args);
|
|
Q_INVOKABLE QVariantMap getConnectionSettings(const QString &connection, const QString &type);
|
|
Q_INVOKABLE QVariantMap getActiveConnectionInfo(const QString &connection);
|
|
Q_INVOKABLE void addConnectionFromQML(const QVariantMap &QMLmap);
|
|
Q_INVOKABLE void updateConnectionFromQML(const QString &path, const QVariantMap &map);
|
|
Q_INVOKABLE QString getAccessPointDevice();
|
|
Q_INVOKABLE QString getAccessPointConnection();
|
|
virtual ~WifiSettings();
|
|
};
|
|
|
|
#endif // WIFISETTINGS_H
|