1/*
2 SPDX-FileCopyrightText: 2008, 2011 Will Stephenson <wstephenson@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5*/
6
7#ifndef NETWORKMANAGERQT_WIREDDEVICE_P_H
8#define NETWORKMANAGERQT_WIREDDEVICE_P_H
9
10#include "dbus/wireddeviceinterface.h"
11#include "device_p.h"
12
13namespace NetworkManager
14{
15class WiredDevicePrivate : public DevicePrivate
16{
17 Q_OBJECT
18public:
19 explicit WiredDevicePrivate(const QString &path, WiredDevice *q);
20 ~WiredDevicePrivate() override;
21 OrgFreedesktopNetworkManagerDeviceWiredInterface wiredIface;
22 QString hardwareAddress;
23 QString permanentHardwareAddress;
24 QStringList s390SubChannels;
25 int bitrate;
26 bool carrier;
27
28 Q_DECLARE_PUBLIC(WiredDevice)
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} // namespace NetworkManager
38
39#endif
40

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