File indexing completed on 2024-06-23 10:42:27

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 VPNPLUGININTERFACE_H
0012 #define VPNPLUGININTERFACE_H
0013 
0014 #include "generictypes.h"
0015 
0016 #include <QDBusAbstractInterface>
0017 #include <QDBusPendingReply>
0018 #include <QList>
0019 #include <QObject>
0020 #include <QString>
0021 #include <QStringList>
0022 #include <QVariant>
0023 
0024 /*
0025  * Proxy class for interface org.freedesktop.NetworkManager.VPN.Plugin
0026  */
0027 class OrgFreedesktopNetworkManagerVPNPluginInterface : public QDBusAbstractInterface
0028 {
0029     Q_OBJECT
0030 public:
0031     static inline const char *staticInterfaceName()
0032 #ifdef NMQT_STATIC
0033     {
0034         return "org.kde.fakenetwork.Settings.VPN.Plugin";
0035     }
0036 #else
0037     {
0038         return "org.freedesktop.NetworkManager.VPN.Plugin";
0039     }
0040 #endif
0041 
0042 public:
0043     OrgFreedesktopNetworkManagerVPNPluginInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr);
0044 
0045     ~OrgFreedesktopNetworkManagerVPNPluginInterface() override;
0046 
0047     Q_PROPERTY(uint State READ state)
0048     inline uint state() const
0049     {
0050         return qvariant_cast<uint>(property("State"));
0051     }
0052 
0053 public Q_SLOTS: // METHODS
0054     inline QDBusPendingReply<> Connect(NMVariantMapMap connection)
0055     {
0056         QList<QVariant> argumentList;
0057         argumentList << QVariant::fromValue(connection);
0058         return asyncCallWithArgumentList(QStringLiteral("Connect"), argumentList);
0059     }
0060 
0061     inline QDBusPendingReply<> ConnectInteractive(NMVariantMapMap connection, QVariant details)
0062     {
0063         QList<QVariant> argumentList;
0064         argumentList << QVariant::fromValue(connection) << QVariant::fromValue(details);
0065         return asyncCallWithArgumentList(QStringLiteral("ConnectInteractive"), argumentList);
0066     }
0067 
0068     inline QDBusPendingReply<> Disconnect()
0069     {
0070         QList<QVariant> argumentList;
0071         return asyncCallWithArgumentList(QStringLiteral("Disconnect"), argumentList);
0072     }
0073 
0074     inline QDBusPendingReply<QString> NeedSecrets(NMVariantMapMap settings)
0075     {
0076         QList<QVariant> argumentList;
0077         argumentList << QVariant::fromValue(settings);
0078         return asyncCallWithArgumentList(QStringLiteral("NeedSecrets"), argumentList);
0079     }
0080 
0081     inline QDBusPendingReply<> NewSecrets(NMVariantMapMap connection)
0082     {
0083         QList<QVariant> argumentList;
0084         argumentList << QVariant::fromValue(connection);
0085         return asyncCallWithArgumentList(QStringLiteral("NewSecrets"), argumentList);
0086     }
0087 
0088     inline QDBusPendingReply<> SetConfig(QVariant config)
0089     {
0090         QList<QVariant> argumentList;
0091         argumentList << QVariant::fromValue(config);
0092         return asyncCallWithArgumentList(QStringLiteral("SetConfig"), argumentList);
0093     }
0094 
0095     inline QDBusPendingReply<> SetFailure(const QString &reason)
0096     {
0097         QList<QVariant> argumentList;
0098         argumentList << QVariant::fromValue(reason);
0099         return asyncCallWithArgumentList(QStringLiteral("SetFailure"), argumentList);
0100     }
0101 
0102     inline QDBusPendingReply<> SetIp4Config(QVariant config)
0103     {
0104         QList<QVariant> argumentList;
0105         argumentList << QVariant::fromValue(config);
0106         return asyncCallWithArgumentList(QStringLiteral("SetIp4Config"), argumentList);
0107     }
0108 
0109     inline QDBusPendingReply<> SetIp6Config(QVariant config)
0110     {
0111         QList<QVariant> argumentList;
0112         argumentList << QVariant::fromValue(config);
0113         return asyncCallWithArgumentList(QStringLiteral("SetIp6Config"), argumentList);
0114     }
0115 
0116 Q_SIGNALS: // SIGNALS
0117     void Config(QVariant config);
0118     void Failure(uint reason);
0119     void Ip4Config(QVariant ip4config);
0120     void Ip6Config(QVariant ip6config);
0121     void LoginBanner(const QString &banner);
0122     void SecretsRequired(const QString &message, const QStringList &secrets);
0123     void StateChanged(uint state);
0124 };
0125 
0126 #endif