1/*
2 SPDX-FileCopyrightText: 2014 Jan Grulich <jgrulich@redhat.com>
3
4 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5*/
6
7#ifndef NETWORKMANAGERQT_BOND_DEVICE_P_H
8#define NETWORKMANAGERQT_BOND_DEVICE_P_H
9
10#include "bonddevice.h"
11#include "dbus/bonddeviceinterface.h"
12#include "device_p.h"
13
14namespace NetworkManager
15{
16class BondDevicePrivate : public DevicePrivate
17{
18 Q_OBJECT
19public:
20 BondDevicePrivate(const QString &path, BondDevice *q);
21 ~BondDevicePrivate() override;
22
23 OrgFreedesktopNetworkManagerDeviceBondInterface iface;
24 bool carrier;
25 QString hwAddress;
26 QStringList slaves;
27
28 Q_DECLARE_PUBLIC(BondDevice)
29protected:
30 /**
31 * When subclassing make sure to call the parent class method
32 * if the property was not useful to your new class
33 */
34 void propertyChanged(const QString &property, const QVariant &value) override;
35};
36}
37#endif // NETWORKMANAGERQT__BLUETOOTH_DEVICE_P_H
38

source code of networkmanager-qt/src/bonddevice_p.h