File indexing completed on 2024-10-06 13:24:51

0001 /*
0002     SPDX-FileCopyrightText: 2018 Martin Kacej <m.kacej@atlas.sk>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #ifndef WIFISETTINGS_H
0008 #define WIFISETTINGS_H
0009 
0010 #include <KQuickAddons/ConfigModule>
0011 
0012 class WifiSettings : public KQuickAddons::ConfigModule
0013 {
0014     Q_OBJECT
0015 public:
0016     WifiSettings(QObject *parent, const QVariantList &args);
0017     Q_INVOKABLE QVariantMap getConnectionSettings(const QString &connection, const QString &type);
0018     Q_INVOKABLE QVariantMap getActiveConnectionInfo(const QString &connection);
0019     Q_INVOKABLE void addConnectionFromQML(const QVariantMap &QMLmap);
0020     Q_INVOKABLE void updateConnectionFromQML(const QString &path, const QVariantMap &map);
0021     Q_INVOKABLE QString getAccessPointDevice();
0022     Q_INVOKABLE QString getAccessPointConnection();
0023     virtual ~WifiSettings();
0024 };
0025 
0026 #endif // WIFISETTINGS_H