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_OLPCMESHDEVICE_P_H |
8 | #define NETWORKMANAGERQT_OLPCMESHDEVICE_P_H |
9 | |
10 | #include "dbus/olpcmeshdeviceinterface.h" |
11 | #include "device_p.h" |
12 | |
13 | namespace NetworkManager |
14 | { |
15 | class OlpcMeshDevicePrivate : public DevicePrivate |
16 | { |
17 | Q_OBJECT |
18 | public: |
19 | explicit OlpcMeshDevicePrivate(const QString &path, OlpcMeshDevice *q); |
20 | OrgFreedesktopNetworkManagerDeviceOlpcMeshInterface iface; |
21 | uint activeChannel; |
22 | QString companion; |
23 | QString hardwareAddress; |
24 | |
25 | Q_DECLARE_PUBLIC(OlpcMeshDevice) |
26 | protected: |
27 | /** |
28 | * When subclassing make sure to call the parent class method |
29 | * if the property was not useful to your new class |
30 | */ |
31 | void propertyChanged(const QString &property, const QVariant &value) override; |
32 | }; |
33 | |
34 | } |
35 | |
36 | #endif |
37 | |