This repository has been archived by the owner on Apr 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
/
agentadaptor.cpp
75 lines (63 loc) · 1.85 KB
/
agentadaptor.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
/*
* This file was generated by qdbusxml2cpp version 0.8 and subsequently hand edited
*
* qdbusxml2cpp is Copyright (C) 2016 The Qt Company Ltd.
*
*/
#include "agentadaptor.h"
#include <QtCore/QMetaObject>
#include <QtCore/QByteArray>
#include <QtCore/QList>
#include <QtCore/QMap>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QVariant>
/*
* Implementation of adaptor class AgentAdaptor
*/
AgentAdaptor::AgentAdaptor(Agent *parent)
: QDBusAbstractAdaptor(parent)
{
// constructor
setAutoRelaySignals(true);
}
AgentAdaptor::~AgentAdaptor()
{
// destructor
}
void AgentAdaptor::Cancel()
{
// handle method call net.connman.Agent.Cancel
parent()->Cancel();
}
void AgentAdaptor::Release()
{
// handle method call net.connman.Agent.Release
parent()->Release();
}
void AgentAdaptor::ReportError(const QDBusObjectPath &service, const QString &error)
{
// handle method call net.connman.Agent.ReportError
parent()->ReportError(service, error);
}
void AgentAdaptor::ReportPeerError(const QDBusObjectPath &peer, const QString &error)
{
// handle method call net.connman.Agent.ReportPeerError
parent()->ReportPeerError(peer, error);
}
void AgentAdaptor::RequestBrowser(const QDBusObjectPath &service, const QString &url)
{
// handle method call net.connman.Agent.RequestBrowser
parent()->RequestBrowser(service, url);
}
QVariantMap AgentAdaptor::RequestInput(const QDBusObjectPath &service, const QVariantMap &fields)
{
// handle method call net.connman.Agent.RequestInput
return parent()->RequestInput(service, fields);
}
QVariantMap AgentAdaptor::RequestPeerAuthorization(const QDBusObjectPath &peer, const QVariantMap &fields)
{
// handle method call net.connman.Agent.RequestPeerAuthorization
return parent()->RequestPeerAuthorization(peer, fields);
}
#include "agentadaptor.moc"