1/*
2 * This file was generated by qdbusxml2cpp version 0.8
3 * Command line was:
4 *
5 * qdbusxml2cpp is Copyright (C) 2016 The Qt Company Ltd.
6 *
7 * This is an auto-generated file.
8 * Do not edit! All changes made to it will be lost.
9 */
10
11#ifndef PPPINTERFACE_H
12#define PPPINTERFACE_H
13
14#include "generictypes.h"
15
16#include <QDBusAbstractInterface>
17#include <QDBusPendingReply>
18#include <QList>
19#include <QObject>
20#include <QString>
21#include <QVariant>
22
23/*
24 * Proxy class for interface org.freedesktop.NetworkManager.PPP
25 */
26class OrgFreedesktopNetworkManagerPPPInterface : public QDBusAbstractInterface
27{
28 Q_OBJECT
29public:
30 static inline const char *staticInterfaceName()
31#ifdef NMQT_STATIC
32 {
33 return "org.kde.fakenetwork.PPP";
34 }
35#else
36 {
37 return "org.freedesktop.NetworkManager.PPP";
38 }
39#endif
40
41public:
42 OrgFreedesktopNetworkManagerPPPInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr);
43
44 ~OrgFreedesktopNetworkManagerPPPInterface() override;
45
46public Q_SLOTS: // METHODS
47 inline QDBusPendingReply<QString, QString> NeedSecrets()
48 {
49 QList<QVariant> argumentList;
50 return asyncCallWithArgumentList(QStringLiteral("NeedSecrets"), args: argumentList);
51 }
52
53 inline QDBusPendingReply<> SetIp4Config(const QVariantMap &config)
54 {
55 QList<QVariant> argumentList;
56 argumentList << QVariant::fromValue(value: config);
57 return asyncCallWithArgumentList(QStringLiteral("SetIp4Config"), args: argumentList);
58 }
59
60 inline QDBusPendingReply<> SetIp6Config(const QVariantMap &config)
61 {
62 QList<QVariant> argumentList;
63 argumentList << QVariant::fromValue(value: config);
64 return asyncCallWithArgumentList(QStringLiteral("SetIp6Config"), args: argumentList);
65 }
66
67 inline QDBusPendingReply<> SetState(uint state)
68 {
69 QList<QVariant> argumentList;
70 argumentList << QVariant::fromValue(value: state);
71 return asyncCallWithArgumentList(QStringLiteral("SetState"), args: argumentList);
72 }
73
74Q_SIGNALS: // SIGNALS
75};
76
77#endif
78

source code of networkmanager-qt/src/dbus/pppinterface.h