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 AGENTMANAGERINTERFACE_H
12#define AGENTMANAGERINTERFACE_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.AgentManager
25 */
26class OrgFreedesktopNetworkManagerAgentManagerInterface : public QDBusAbstractInterface
27{
28 Q_OBJECT
29public:
30 static inline const char *staticInterfaceName()
31#ifdef NMQT_STATIC
32 {
33 return "org.kde.fakenetwork.AgentManager";
34 }
35#else
36 {
37 return "org.freedesktop.NetworkManager.AgentManager";
38 }
39#endif
40
41public:
42 OrgFreedesktopNetworkManagerAgentManagerInterface(const QString &service,
43 const QString &path,
44 const QDBusConnection &connection,
45 QObject *parent = nullptr);
46
47 ~OrgFreedesktopNetworkManagerAgentManagerInterface() override;
48
49public Q_SLOTS: // METHODS
50 inline QDBusPendingReply<> Register(const QString &identifier)
51 {
52 QList<QVariant> argumentList;
53 argumentList << QVariant::fromValue(value: identifier);
54 return asyncCallWithArgumentList(QStringLiteral("Register"), args: argumentList);
55 }
56
57 inline QDBusPendingReply<> RegisterWithCapabilities(const QString &identifier, uint capabilities)
58 {
59 QList<QVariant> argumentList;
60 argumentList << QVariant::fromValue(value: identifier) << QVariant::fromValue(value: capabilities);
61 return asyncCallWithArgumentList(QStringLiteral("RegisterWithCapabilities"), args: argumentList);
62 }
63
64 inline QDBusPendingReply<> Unregister()
65 {
66 QList<QVariant> argumentList;
67 return asyncCallWithArgumentList(QStringLiteral("Unregister"), args: argumentList);
68 }
69
70Q_SIGNALS: // SIGNALS
71};
72
73#endif
74

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