File indexing completed on 2024-04-21 04:00:13

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_OLPCMESHDEVICE_P_H
0008 #define NETWORKMANAGERQT_OLPCMESHDEVICE_P_H
0009 
0010 #include "dbus/olpcmeshdeviceinterface.h"
0011 #include "device_p.h"
0012 
0013 namespace NetworkManager
0014 {
0015 class OlpcMeshDevicePrivate : public DevicePrivate
0016 {
0017     Q_OBJECT
0018 public:
0019     explicit OlpcMeshDevicePrivate(const QString &path, OlpcMeshDevice *q);
0020     OrgFreedesktopNetworkManagerDeviceOlpcMeshInterface iface;
0021     uint activeChannel;
0022     QString companion;
0023     QString hardwareAddress;
0024 
0025     Q_DECLARE_PUBLIC(OlpcMeshDevice)
0026 protected:
0027     /**
0028      * When subclassing make sure to call the parent class method
0029      * if the property was not useful to your new class
0030      */
0031     void propertyChanged(const QString &property, const QVariant &value) override;
0032 };
0033 
0034 }
0035 
0036 #endif