File indexing completed on 2025-03-23 12:49:51
0001 /* 0002 SPDX-FileCopyrightText: 2012-2014 Jan Grulich <jgrulich@redhat.com> 0003 0004 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0005 */ 0006 0007 #ifndef NETWORKMANAGERQT_INFINIBAND_DEVICE_P_H 0008 #define NETWORKMANAGERQT_INFINIBAND_DEVICE_P_H 0009 0010 #include "device_p.h" 0011 #include "infinibanddevice.h" 0012 #include "infinibanddeviceinterface.h" 0013 #include "manager_p.h" 0014 0015 namespace NetworkManager 0016 { 0017 class InfinibandDevicePrivate : public DevicePrivate 0018 { 0019 Q_OBJECT 0020 public: 0021 InfinibandDevicePrivate(const QString &path, InfinibandDevice *q); 0022 ~InfinibandDevicePrivate() override; 0023 0024 OrgFreedesktopNetworkManagerDeviceInfinibandInterface iface; 0025 bool carrier; 0026 QString hwAddress; 0027 0028 Q_DECLARE_PUBLIC(InfinibandDevice) 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 } 0038 0039 #endif