File indexing completed on 2025-03-16 12:58:12
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 TUNDEVICEINTERFACE_H 0012 #define TUNDEVICEINTERFACE_H 0013 0014 #include "generictypes.h" 0015 0016 #include <QDBusAbstractInterface> 0017 #include <QObject> 0018 #include <QString> 0019 #include <QVariant> 0020 0021 /* 0022 * Proxy class for interface org.freedesktop.NetworkManager.Device.Tun 0023 */ 0024 class OrgFreedesktopNetworkManagerDeviceTunInterface : public QDBusAbstractInterface 0025 { 0026 Q_OBJECT 0027 public: 0028 static inline const char *staticInterfaceName() 0029 #ifdef NMQT_STATIC 0030 { 0031 return "org.kde.fakenetwork.Device.Tun"; 0032 } 0033 #else 0034 { 0035 return "org.freedesktop.NetworkManager.Device.Tun"; 0036 } 0037 #endif 0038 0039 public: 0040 OrgFreedesktopNetworkManagerDeviceTunInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr); 0041 0042 ~OrgFreedesktopNetworkManagerDeviceTunInterface() override; 0043 0044 Q_PROPERTY(qlonglong Group READ group) 0045 inline qlonglong group() const 0046 { 0047 return qvariant_cast<qlonglong>(property("Group")); 0048 } 0049 0050 Q_PROPERTY(QString HwAddress READ hwAddress) 0051 inline QString hwAddress() const 0052 { 0053 return qvariant_cast<QString>(property("HwAddress")); 0054 } 0055 0056 Q_PROPERTY(QString Mode READ mode) 0057 inline QString mode() const 0058 { 0059 return qvariant_cast<QString>(property("Mode")); 0060 } 0061 0062 Q_PROPERTY(bool MultiQueue READ multiQueue) 0063 inline bool multiQueue() const 0064 { 0065 return qvariant_cast<bool>(property("MultiQueue")); 0066 } 0067 0068 Q_PROPERTY(bool NoPi READ noPi) 0069 inline bool noPi() const 0070 { 0071 return qvariant_cast<bool>(property("NoPi")); 0072 } 0073 0074 Q_PROPERTY(qlonglong Owner READ owner) 0075 inline qlonglong owner() const 0076 { 0077 return qvariant_cast<qlonglong>(property("Owner")); 0078 } 0079 0080 Q_PROPERTY(bool VnetHdr READ vnetHdr) 0081 inline bool vnetHdr() const 0082 { 0083 return qvariant_cast<bool>(property("VnetHdr")); 0084 } 0085 0086 public Q_SLOTS: // METHODS 0087 Q_SIGNALS: // SIGNALS 0088 void PropertiesChanged(const QVariantMap &properties); 0089 }; 0090 0091 #endif