1/*
2 SPDX-FileCopyrightText: 2017 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_IPTUNNEL_DEVICE_P_H
8#define NETWORKMANAGERQT_IPTUNNEL_DEVICE_P_H
9
10#include "device_p.h"
11#include "iptunneldevice.h"
12#include "manager.h"
13#include "manager_p.h"
14
15#include "iptunneldeviceinterface.h"
16
17namespace NetworkManager
18{
19class IpTunnelDevicePrivate : public DevicePrivate
20{
21 Q_OBJECT
22public:
23 IpTunnelDevicePrivate(const QString &path, IpTunnelDevice *q);
24 ~IpTunnelDevicePrivate() override;
25
26 OrgFreedesktopNetworkManagerDeviceIPTunnelInterface iface;
27 uchar encapsulationLimit;
28 uint flowLabel;
29 QString inputKey;
30 QString local;
31 uint mode;
32 QString outputKey;
33 QString parent;
34 bool pathMtuDiscovery;
35 QString remote;
36 uchar tos;
37 uchar ttl;
38
39 Q_DECLARE_PUBLIC(IpTunnelDevice)
40protected:
41 /**
42 * When subclassing make sure to call the parent class method
43 * if the property was not useful to your new class
44 */
45 void propertyChanged(const QString &property, const QVariant &value) override;
46};
47
48}
49
50#endif
51

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