File indexing completed on 2024-05-05 03:53:04
0001 /* 0002 SPDX-FileCopyrightText: 2010 Dario Freddi <drf@kde.org> 0003 SPDX-FileCopyrightText: 2020 Harald Sitter <sitter@kde.org> 0004 0005 SPDX-License-Identifier: LGPL-2.1-or-later 0006 */ 0007 0008 #include "FakeHelperProxy.h" 0009 0010 namespace KAuth 0011 { 0012 FakeHelperProxy::FakeHelperProxy() 0013 : HelperProxy() 0014 { 0015 } 0016 0017 FakeHelperProxy::~FakeHelperProxy() 0018 { 0019 } 0020 0021 void FakeHelperProxy::sendProgressStepData(const QVariantMap &step) 0022 { 0023 Q_UNUSED(step) 0024 } 0025 0026 void FakeHelperProxy::sendProgressStep(int step) 0027 { 0028 Q_UNUSED(step) 0029 } 0030 0031 void FakeHelperProxy::sendDebugMessage(int level, const char *msg) 0032 { 0033 Q_UNUSED(level) 0034 Q_UNUSED(msg) 0035 } 0036 0037 bool FakeHelperProxy::hasToStopAction() 0038 { 0039 return false; 0040 } 0041 0042 void FakeHelperProxy::setHelperResponder(QObject *o) 0043 { 0044 Q_UNUSED(o) 0045 } 0046 0047 bool FakeHelperProxy::initHelper(const QString &name) 0048 { 0049 Q_UNUSED(name) 0050 return false; 0051 } 0052 0053 void FakeHelperProxy::stopAction(const QString &action, const QString &helperID) 0054 { 0055 Q_UNUSED(action) 0056 Q_UNUSED(helperID) 0057 } 0058 0059 void FakeHelperProxy::executeAction(const QString &action, const QString &helperID, const DetailsMap &details, const QVariantMap &arguments, int timeout) 0060 { 0061 Q_UNUSED(helperID) 0062 Q_UNUSED(details) 0063 Q_UNUSED(arguments) 0064 Q_UNUSED(timeout) 0065 Q_EMIT actionPerformed(action, KAuth::ActionReply::NoSuchActionReply()); 0066 } 0067 0068 int FakeHelperProxy::callerUid() const 0069 { 0070 return -1; 0071 } 0072 0073 } 0074 0075 #include "moc_FakeHelperProxy.cpp"