1/*
2 SPDX-FileCopyrightText: 2012-2013 Jan Grulich <jgrulich@redhat.com>
3 SPDX-FileCopyrightText: 2013 Daniel Nicoletti <dantti12@gmail.com>
4
5 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
6*/
7
8#ifndef NETWORKMANAGERQT_WIMAX_SETTING_H
9#define NETWORKMANAGERQT_WIMAX_SETTING_H
10
11#include "setting.h"
12#include <networkmanagerqt/networkmanagerqt_export.h>
13
14#include <QString>
15
16namespace NetworkManager
17{
18class WimaxSettingPrivate;
19
20/**
21 * Represents wimax setting
22 */
23class NETWORKMANAGERQT_EXPORT WimaxSetting : public Setting
24{
25public:
26 typedef QSharedPointer<WimaxSetting> Ptr;
27 typedef QList<Ptr> List;
28 WimaxSetting();
29 explicit WimaxSetting(const Ptr &other);
30 ~WimaxSetting() override;
31
32 QString name() const override;
33
34 void setNetworkName(const QString &name);
35 QString networkName() const;
36
37 void setMacAddress(const QByteArray &address);
38 QByteArray macAddress() const;
39
40 void fromMap(const QVariantMap &setting) override;
41
42 QVariantMap toMap() const override;
43
44protected:
45 WimaxSettingPrivate *d_ptr;
46
47private:
48 Q_DECLARE_PRIVATE(WimaxSetting)
49};
50
51NETWORKMANAGERQT_EXPORT QDebug operator<<(QDebug dbg, const WimaxSetting &setting);
52
53}
54
55#endif // NETWORKMANAGERQT_WIMAX_SETTING_H
56

source code of networkmanager-qt/src/settings/wimaxsetting.h