NetworkManagerQt

macvlandeviceinterface.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 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{
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,
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>(property("Mode"));
52 }
53
54 Q_PROPERTY(bool NoPromisc READ noPromisc)
55 inline bool noPromisc() const
56 {
57 return qvariant_cast<bool>(property("NoPromisc"));
58 }
59
60 Q_PROPERTY(QDBusObjectPath Parent READ parent)
61 inline QDBusObjectPath parent() const
62 {
63 return qvariant_cast<QDBusObjectPath>(property("Parent"));
64 }
65
66 Q_PROPERTY(bool Tap READ tap)
67 inline bool tap() const
68 {
69 return qvariant_cast<bool>(property("Tap"));
70 }
71
72public Q_SLOTS: // METHODS
73Q_SIGNALS: // SIGNALS
74 void PropertiesChanged(const QVariantMap &properties);
75};
76
77#endif
QDBusConnection connection() const const
QString path() const const
QString service() const const
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
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.