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_BRIDGE_DEVICE_P_H
8#define NETWORKMANAGERQT_BRIDGE_DEVICE_P_H
9
10#include "bridgedevice.h"
11#include "device_p.h"
12#include "manager.h"
13
14#include "bridgedeviceinterface.h"
15
16namespace NetworkManager
17{
18class BridgeDevicePrivate : public DevicePrivate
19{
20public:
21 BridgeDevicePrivate(const QString &path, BridgeDevice *q);
22 ~BridgeDevicePrivate() override;
23
24 OrgFreedesktopNetworkManagerDeviceBridgeInterface iface;
25 bool carrier;
26 QString hwAddress;
27 QStringList slaves;
28
29 Q_DECLARE_PUBLIC(BridgeDevice)
30protected:
31 /**
32 * When subclassing make sure to call the parent class method
33 * if the property was not useful to your new class
34 */
35 void propertyChanged(const QString &property, const QVariant &value) override;
36};
37}
38
39#endif
40

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