1 | /* |
2 | SPDX-FileCopyrightText: 2011 Ilia Kats <ilia-kats@gmx.net> |
3 | |
4 | SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL |
5 | */ |
6 | |
7 | #ifndef NETWORKMANAGERQT_WIMAXDEVICE_P_H |
8 | #define NETWORKMANAGERQT_WIMAXDEVICE_P_H |
9 | |
10 | #include "device_p.h" |
11 | #include "wimaxdeviceinterface.h" |
12 | |
13 | namespace NetworkManager |
14 | { |
15 | class WimaxDevicePrivate : public DevicePrivate |
16 | { |
17 | Q_OBJECT |
18 | public: |
19 | explicit WimaxDevicePrivate(const QString &path, WimaxDevice *q); |
20 | OrgFreedesktopNetworkManagerDeviceWiMaxInterface wimaxIface; |
21 | QString hardwareAddress; |
22 | mutable QMap<QString, WimaxNsp::Ptr> nspMap; |
23 | QString activeNsp; |
24 | uint centerFrequency; |
25 | int cinr; |
26 | QString bsid; |
27 | int ; |
28 | int txPower; |
29 | |
30 | Q_DECLARE_PUBLIC(WimaxDevice) |
31 | protected Q_SLOTS: |
32 | void nspAdded(const QDBusObjectPath &); |
33 | void nspRemoved(const QDBusObjectPath &); |
34 | |
35 | protected: |
36 | /** |
37 | * When subclassing make sure to call the parent class method |
38 | * if the property was not useful to your new class |
39 | */ |
40 | void propertyChanged(const QString &property, const QVariant &value) override; |
41 | }; |
42 | |
43 | } |
44 | |
45 | #endif |
46 | |