11#ifndef IPTUNNELDEVICEINTERFACE_H
12#define IPTUNNELDEVICEINTERFACE_H
14#include "generictypes.h"
16#include <QDBusAbstractInterface>
17#include <QDBusObjectPath>
29 static inline const char *staticInterfaceName()
32 return "org.kde.fakenetwork.Device.IPTunnel";
36 return "org.freedesktop.NetworkManager.Device.IPTunnel";
40 OrgFreedesktopNetworkManagerDeviceIPTunnelInterface(
const QString &
service,
45 ~OrgFreedesktopNetworkManagerDeviceIPTunnelInterface()
override;
47 Q_PROPERTY(uchar EncapsulationLimit READ encapsulationLimit)
48 inline uchar encapsulationLimit()
const
50 return qvariant_cast<uchar>(
property(
"EncapsulationLimit"));
54 inline uint flowLabel()
const
56 return qvariant_cast<uint>(
property(
"FlowLabel"));
62 return qvariant_cast<QString>(
property(
"InputKey"));
68 return qvariant_cast<QString>(
property(
"Local"));
72 inline uint mode()
const
74 return qvariant_cast<uint>(
property(
"Mode"));
78 inline QString outputKey()
const
80 return qvariant_cast<QString>(
property(
"OutputKey"));
86 return qvariant_cast<QDBusObjectPath>(
property(
"Parent"));
89 Q_PROPERTY(
bool PathMtuDiscovery READ pathMtuDiscovery)
90 inline bool pathMtuDiscovery()
const
92 return qvariant_cast<bool>(
property(
"PathMtuDiscovery"));
98 return qvariant_cast<QString>(
property(
"Remote"));
102 inline uchar tos()
const
104 return qvariant_cast<uchar>(
property(
"Tos"));
108 inline uchar ttl()
const
110 return qvariant_cast<uchar>(
property(
"Ttl"));
115 void PropertiesChanged(
const QVariantMap &properties);
QDBusConnection connection() const const
QString path() const const
QString service() const const
QVariant property(const char *name) const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:08:13 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.