File indexing completed on 2024-04-21 03:59:57

0001 /*
0002  * This file was generated by qdbusxml2cpp version 0.8
0003  * Command line was:
0004  *
0005  * qdbusxml2cpp is Copyright (C) 2016 The Qt Company Ltd.
0006  *
0007  * This is an auto-generated file.
0008  * Do not edit! All changes made to it will be lost.
0009  */
0010 
0011 #ifndef MACVLANDEVICEINTERFACE_H
0012 #define MACVLANDEVICEINTERFACE_H
0013 
0014 #include "generictypes.h"
0015 
0016 #include <QDBusAbstractInterface>
0017 #include <QDBusObjectPath>
0018 #include <QObject>
0019 #include <QString>
0020 #include <QVariant>
0021 
0022 /*
0023  * Proxy class for interface org.freedesktop.NetworkManager.Device.Macvlan
0024  */
0025 class OrgFreedesktopNetworkManagerDeviceMacvlanInterface : public QDBusAbstractInterface
0026 {
0027     Q_OBJECT
0028 public:
0029     static inline const char *staticInterfaceName()
0030 #ifdef NMQT_STATIC
0031     {
0032         return "org.kde.fakenetwork.Device.Macvlan";
0033     }
0034 #else
0035     {
0036         return "org.freedesktop.NetworkManager.Device.Macvlan";
0037     }
0038 #endif
0039 
0040 public:
0041     OrgFreedesktopNetworkManagerDeviceMacvlanInterface(const QString &service,
0042                                                        const QString &path,
0043                                                        const QDBusConnection &connection,
0044                                                        QObject *parent = nullptr);
0045 
0046     ~OrgFreedesktopNetworkManagerDeviceMacvlanInterface() override;
0047 
0048     Q_PROPERTY(QString Mode READ mode)
0049     inline QString mode() const
0050     {
0051         return qvariant_cast<QString>(property("Mode"));
0052     }
0053 
0054     Q_PROPERTY(bool NoPromisc READ noPromisc)
0055     inline bool noPromisc() const
0056     {
0057         return qvariant_cast<bool>(property("NoPromisc"));
0058     }
0059 
0060     Q_PROPERTY(QDBusObjectPath Parent READ parent)
0061     inline QDBusObjectPath parent() const
0062     {
0063         return qvariant_cast<QDBusObjectPath>(property("Parent"));
0064     }
0065 
0066     Q_PROPERTY(bool Tap READ tap)
0067     inline bool tap() const
0068     {
0069         return qvariant_cast<bool>(property("Tap"));
0070     }
0071 
0072 public Q_SLOTS: // METHODS
0073 Q_SIGNALS: // SIGNALS
0074     void PropertiesChanged(const QVariantMap &properties);
0075 };
0076 
0077 #endif