File indexing completed on 2024-12-01 06:49:24
0001 /* 0002 SPDX-FileCopyrightText: 2008, 2011 Will Stephenson <wstephenson@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0005 */ 0006 0007 #ifndef NETWORKMANAGERQT_WIREDDEVICE_P_H 0008 #define NETWORKMANAGERQT_WIREDDEVICE_P_H 0009 0010 #include "dbus/wireddeviceinterface.h" 0011 #include "device_p.h" 0012 0013 namespace NetworkManager 0014 { 0015 class WiredDevicePrivate : public DevicePrivate 0016 { 0017 Q_OBJECT 0018 public: 0019 explicit WiredDevicePrivate(const QString &path, WiredDevice *q); 0020 ~WiredDevicePrivate() override; 0021 OrgFreedesktopNetworkManagerDeviceWiredInterface wiredIface; 0022 QString hardwareAddress; 0023 QString permanentHardwareAddress; 0024 QStringList s390SubChannels; 0025 int bitrate; 0026 bool carrier; 0027 0028 Q_DECLARE_PUBLIC(WiredDevice) 0029 protected: 0030 /** 0031 * When subclassing make sure to call the parent class method 0032 * if the property was not useful to your new class 0033 */ 0034 void propertyChanged(const QString &property, const QVariant &value) override; 0035 }; 0036 0037 } // namespace NetworkManager 0038 0039 #endif