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 VPNCONNECTIONINTERFACE_H 0012 #define VPNCONNECTIONINTERFACE_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.VPN.Connection 0023 */ 0024 class OrgFreedesktopNetworkManagerVPNConnectionInterface : public QDBusAbstractInterface 0025 { 0026 Q_OBJECT 0027 public: 0028 static inline const char *staticInterfaceName() 0029 #ifdef NMQT_STATIC 0030 { 0031 return "org.kde.fakenetwork.Settings.VPN.Connection"; 0032 } 0033 #else 0034 { 0035 return "org.freedesktop.NetworkManager.VPN.Connection"; 0036 } 0037 #endif 0038 0039 public: 0040 OrgFreedesktopNetworkManagerVPNConnectionInterface(const QString &service, 0041 const QString &path, 0042 const QDBusConnection &connection, 0043 QObject *parent = nullptr); 0044 0045 ~OrgFreedesktopNetworkManagerVPNConnectionInterface() override; 0046 0047 Q_PROPERTY(QString Banner READ banner) 0048 inline QString banner() const 0049 { 0050 return qvariant_cast<QString>(property("Banner")); 0051 } 0052 0053 Q_PROPERTY(uint VpnState READ vpnState) 0054 inline uint vpnState() const 0055 { 0056 return qvariant_cast<uint>(property("VpnState")); 0057 } 0058 0059 public Q_SLOTS: // METHODS 0060 Q_SIGNALS: // SIGNALS 0061 void PropertiesChanged(const QVariantMap &properties); 0062 void VpnStateChanged(uint state, uint reason); 0063 }; 0064 0065 #endif