File indexing completed on 2024-04-14 03:57:30

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 PPPINTERFACE_H
0012 #define PPPINTERFACE_H
0013 
0014 #include "generictypes.h"
0015 
0016 #include <QDBusAbstractInterface>
0017 #include <QDBusPendingReply>
0018 #include <QList>
0019 #include <QObject>
0020 #include <QString>
0021 #include <QVariant>
0022 
0023 /*
0024  * Proxy class for interface org.freedesktop.NetworkManager.PPP
0025  */
0026 class OrgFreedesktopNetworkManagerPPPInterface : public QDBusAbstractInterface
0027 {
0028     Q_OBJECT
0029 public:
0030     static inline const char *staticInterfaceName()
0031 #ifdef NMQT_STATIC
0032     {
0033         return "org.kde.fakenetwork.PPP";
0034     }
0035 #else
0036     {
0037         return "org.freedesktop.NetworkManager.PPP";
0038     }
0039 #endif
0040 
0041 public:
0042     OrgFreedesktopNetworkManagerPPPInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr);
0043 
0044     ~OrgFreedesktopNetworkManagerPPPInterface() override;
0045 
0046 public Q_SLOTS: // METHODS
0047     inline QDBusPendingReply<QString, QString> NeedSecrets()
0048     {
0049         QList<QVariant> argumentList;
0050         return asyncCallWithArgumentList(QStringLiteral("NeedSecrets"), argumentList);
0051     }
0052 
0053     inline QDBusPendingReply<> SetIp4Config(const QVariantMap &config)
0054     {
0055         QList<QVariant> argumentList;
0056         argumentList << QVariant::fromValue(config);
0057         return asyncCallWithArgumentList(QStringLiteral("SetIp4Config"), argumentList);
0058     }
0059 
0060     inline QDBusPendingReply<> SetIp6Config(const QVariantMap &config)
0061     {
0062         QList<QVariant> argumentList;
0063         argumentList << QVariant::fromValue(config);
0064         return asyncCallWithArgumentList(QStringLiteral("SetIp6Config"), argumentList);
0065     }
0066 
0067     inline QDBusPendingReply<> SetState(uint state)
0068     {
0069         QList<QVariant> argumentList;
0070         argumentList << QVariant::fromValue(state);
0071         return asyncCallWithArgumentList(QStringLiteral("SetState"), argumentList);
0072     }
0073 
0074 Q_SIGNALS: // SIGNALS
0075 };
0076 
0077 #endif