1 | /* |
---|---|
2 | SPDX-FileCopyrightText: 2010 Dario Freddi <drf@kde.org> |
3 | SPDX-FileCopyrightText: 2020 Harald Sitter <sitter@kde.org> |
4 | |
5 | SPDX-License-Identifier: LGPL-2.1-or-later |
6 | */ |
7 | |
8 | #include "FakeHelperProxy.h" |
9 | |
10 | namespace KAuth |
11 | { |
12 | FakeHelperProxy::FakeHelperProxy() |
13 | : HelperProxy() |
14 | { |
15 | } |
16 | |
17 | FakeHelperProxy::~FakeHelperProxy() |
18 | { |
19 | } |
20 | |
21 | void FakeHelperProxy::sendProgressStepData(const QVariantMap &step) |
22 | { |
23 | Q_UNUSED(step) |
24 | } |
25 | |
26 | void FakeHelperProxy::sendProgressStep(int step) |
27 | { |
28 | Q_UNUSED(step) |
29 | } |
30 | |
31 | void FakeHelperProxy::sendDebugMessage(int level, const char *msg) |
32 | { |
33 | Q_UNUSED(level) |
34 | Q_UNUSED(msg) |
35 | } |
36 | |
37 | bool FakeHelperProxy::hasToStopAction() |
38 | { |
39 | return false; |
40 | } |
41 | |
42 | void FakeHelperProxy::setHelperResponder(QObject *o) |
43 | { |
44 | Q_UNUSED(o) |
45 | } |
46 | |
47 | bool FakeHelperProxy::initHelper(const QString &name) |
48 | { |
49 | Q_UNUSED(name) |
50 | return false; |
51 | } |
52 | |
53 | void FakeHelperProxy::stopAction(const QString &action, const QString &helperID) |
54 | { |
55 | Q_UNUSED(action) |
56 | Q_UNUSED(helperID) |
57 | } |
58 | |
59 | void FakeHelperProxy::executeAction(const QString &action, const QString &helperID, const DetailsMap &details, const QVariantMap &arguments, int timeout) |
60 | { |
61 | Q_UNUSED(helperID) |
62 | Q_UNUSED(details) |
63 | Q_UNUSED(arguments) |
64 | Q_UNUSED(timeout) |
65 | Q_EMIT actionPerformed(action, reply: KAuth::ActionReply::NoSuchActionReply()); |
66 | } |
67 | |
68 | int FakeHelperProxy::callerUid() const |
69 | { |
70 | return -1; |
71 | } |
72 | |
73 | } |
74 | |
75 | #include "moc_FakeHelperProxy.cpp" |
76 |