NetworkManagerQt

tundeviceinterface.h
1/*
2 * This file was generated by qdbusxml2cpp version 0.8
3 * Command line was:
4 *
5 * qdbusxml2cpp is Copyright (C) 2016 The Qt Company Ltd.
6 *
7 * This is an auto-generated file.
8 * Do not edit! All changes made to it will be lost.
9 */
10
11#ifndef TUNDEVICEINTERFACE_H
12#define TUNDEVICEINTERFACE_H
13
14#include "generictypes.h"
15
16#include <QDBusAbstractInterface>
17#include <QObject>
18#include <QString>
19#include <QVariant>
20
21/*
22 * Proxy class for interface org.freedesktop.NetworkManager.Device.Tun
23 */
24class OrgFreedesktopNetworkManagerDeviceTunInterface : public QDBusAbstractInterface
25{
27public:
28 static inline const char *staticInterfaceName()
29#ifdef NMQT_STATIC
30 {
31 return "org.kde.fakenetwork.Device.Tun";
32 }
33#else
34 {
35 return "org.freedesktop.NetworkManager.Device.Tun";
36 }
37#endif
38
39public:
40 OrgFreedesktopNetworkManagerDeviceTunInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr);
41
42 ~OrgFreedesktopNetworkManagerDeviceTunInterface() override;
43
44 Q_PROPERTY(qlonglong Group READ group)
45 inline qlonglong group() const
46 {
47 return qvariant_cast<qlonglong>(property("Group"));
48 }
49
50 Q_PROPERTY(QString HwAddress READ hwAddress)
51 inline QString hwAddress() const
52 {
53 return qvariant_cast<QString>(property("HwAddress"));
54 }
55
56 Q_PROPERTY(QString Mode READ mode)
57 inline QString mode() const
58 {
59 return qvariant_cast<QString>(property("Mode"));
60 }
61
62 Q_PROPERTY(bool MultiQueue READ multiQueue)
63 inline bool multiQueue() const
64 {
65 return qvariant_cast<bool>(property("MultiQueue"));
66 }
67
68 Q_PROPERTY(bool NoPi READ noPi)
69 inline bool noPi() const
70 {
71 return qvariant_cast<bool>(property("NoPi"));
72 }
73
74 Q_PROPERTY(qlonglong Owner READ owner)
75 inline qlonglong owner() const
76 {
77 return qvariant_cast<qlonglong>(property("Owner"));
78 }
79
80 Q_PROPERTY(bool VnetHdr READ vnetHdr)
81 inline bool vnetHdr() const
82 {
83 return qvariant_cast<bool>(property("VnetHdr"));
84 }
85
86public Q_SLOTS: // METHODS
87Q_SIGNALS: // SIGNALS
88 void PropertiesChanged(const QVariantMap &properties);
89};
90
91#endif
QDBusConnection connection() const const
QString path() const const
QString service() const const
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
QObject * parent() 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 Fri Nov 22 2024 12:01:05 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.