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 MACVLANDEVICEINTERFACE_H
12#define MACVLANDEVICEINTERFACE_H
13
14#include "generictypes.h"
15
16#include <QDBusAbstractInterface>
17#include <QDBusObjectPath>
18#include <QObject>
19#include <QString>
20#include <QVariant>
21
22/*
23 * Proxy class for interface org.freedesktop.NetworkManager.Device.Macvlan
24 */
25class OrgFreedesktopNetworkManagerDeviceMacvlanInterface : public QDBusAbstractInterface
26{
27 Q_OBJECT
28public:
29 static inline const char *staticInterfaceName()
30#ifdef NMQT_STATIC
31 {
32 return "org.kde.fakenetwork.Device.Macvlan";
33 }
34#else
35 {
36 return "org.freedesktop.NetworkManager.Device.Macvlan";
37 }
38#endif
39
40public:
41 OrgFreedesktopNetworkManagerDeviceMacvlanInterface(const QString &service,
42 const QString &path,
43 const QDBusConnection &connection,
44 QObject *parent = nullptr);
45
46 ~OrgFreedesktopNetworkManagerDeviceMacvlanInterface() override;
47
48 Q_PROPERTY(QString Mode READ mode)
49 inline QString mode() const
50 {
51 return qvariant_cast<QString>(v: property(name: "Mode"));
52 }
53
54 Q_PROPERTY(bool NoPromisc READ noPromisc)
55 inline bool noPromisc() const
56 {
57 return qvariant_cast<bool>(v: property(name: "NoPromisc"));
58 }
59
60 Q_PROPERTY(QDBusObjectPath Parent READ parent)
61 inline QDBusObjectPath parent() const
62 {
63 return qvariant_cast<QDBusObjectPath>(v: property(name: "Parent"));
64 }
65
66 Q_PROPERTY(bool Tap READ tap)
67 inline bool tap() const
68 {
69 return qvariant_cast<bool>(v: property(name: "Tap"));
70 }
71
72public Q_SLOTS: // METHODS
73Q_SIGNALS: // SIGNALS
74 void PropertiesChanged(const QVariantMap &properties);
75};
76
77#endif
78

source code of networkmanager-qt/src/dbus/macvlandeviceinterface.h