1/*
2 SPDX-FileCopyrightText: 2012-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_INFINIBAND_DEVICE_P_H
8#define NETWORKMANAGERQT_INFINIBAND_DEVICE_P_H
9
10#include "device_p.h"
11#include "infinibanddevice.h"
12#include "infinibanddeviceinterface.h"
13#include "manager_p.h"
14
15namespace NetworkManager
16{
17class InfinibandDevicePrivate : public DevicePrivate
18{
19 Q_OBJECT
20public:
21 InfinibandDevicePrivate(const QString &path, InfinibandDevice *q);
22 ~InfinibandDevicePrivate() override;
23
24 OrgFreedesktopNetworkManagerDeviceInfinibandInterface iface;
25 bool carrier;
26 QString hwAddress;
27
28 Q_DECLARE_PUBLIC(InfinibandDevice)
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}
38
39#endif
40

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