File indexing completed on 2025-03-23 12:49:54
0001 /* 0002 SPDX-FileCopyrightText: 2011 Ilia Kats <ilia-kats@gmx.net> 0003 0004 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0005 */ 0006 0007 #ifndef NETWORKMANAGERQT_WIMAXDEVICE_P_H 0008 #define NETWORKMANAGERQT_WIMAXDEVICE_P_H 0009 0010 #include "device_p.h" 0011 #include "wimaxdeviceinterface.h" 0012 0013 namespace NetworkManager 0014 { 0015 class WimaxDevicePrivate : public DevicePrivate 0016 { 0017 Q_OBJECT 0018 public: 0019 explicit WimaxDevicePrivate(const QString &path, WimaxDevice *q); 0020 OrgFreedesktopNetworkManagerDeviceWiMaxInterface wimaxIface; 0021 QString hardwareAddress; 0022 mutable QMap<QString, WimaxNsp::Ptr> nspMap; 0023 QString activeNsp; 0024 uint centerFrequency; 0025 int cinr; 0026 QString bsid; 0027 int rssi; 0028 int txPower; 0029 0030 Q_DECLARE_PUBLIC(WimaxDevice) 0031 protected Q_SLOTS: 0032 void nspAdded(const QDBusObjectPath &); 0033 void nspRemoved(const QDBusObjectPath &); 0034 0035 protected: 0036 /** 0037 * When subclassing make sure to call the parent class method 0038 * if the property was not useful to your new class 0039 */ 0040 void propertyChanged(const QString &property, const QVariant &value) override; 0041 }; 0042 0043 } 0044 0045 #endif