NetworkManagerQt

pppinterface.h
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{
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"), argumentList);
51 }
52
53 inline QDBusPendingReply<> SetIp4Config(const QVariantMap &config)
54 {
55 QList<QVariant> argumentList;
56 argumentList << QVariant::fromValue(config);
57 return asyncCallWithArgumentList(QStringLiteral("SetIp4Config"), argumentList);
58 }
59
60 inline QDBusPendingReply<> SetIp6Config(const QVariantMap &config)
61 {
62 QList<QVariant> argumentList;
63 argumentList << QVariant::fromValue(config);
64 return asyncCallWithArgumentList(QStringLiteral("SetIp6Config"), argumentList);
65 }
66
67 inline QDBusPendingReply<> SetState(uint state)
68 {
69 QList<QVariant> argumentList;
70 argumentList << QVariant::fromValue(state);
71 return asyncCallWithArgumentList(QStringLiteral("SetState"), argumentList);
72 }
73
74Q_SIGNALS: // SIGNALS
75};
76
77#endif
QDBusPendingCall asyncCallWithArgumentList(const QString &method, const QList< QVariant > &args)
QDBusConnection connection() const const
QString path() const const
QString service() const const
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
QObject * parent() const const
QVariant fromValue(T &&value)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:13:24 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.