KAuth

FakeHelperProxy.h
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#ifndef FAKEHELPERPROXY_H
9#define FAKEHELPERPROXY_H
10
11#include "HelperProxy.h"
12
13namespace KAuth
14{
15class FakeHelperProxy : public HelperProxy
16{
18 Q_INTERFACES(KAuth::HelperProxy)
19
20public:
21 FakeHelperProxy();
22 ~FakeHelperProxy() override;
23
24 void sendProgressStepData(const QVariantMap &step) override;
25 void sendProgressStep(int step) override;
26 void sendDebugMessage(int level, const char *msg) override;
27 bool hasToStopAction() override;
28 void setHelperResponder(QObject *o) override;
29 bool initHelper(const QString &name) override;
30 void stopAction(const QString &action, const QString &helperID) override;
31 void executeAction(const QString &action, const QString &helperID, const DetailsMap &details, const QVariantMap &arguments, int timeout = -1) override;
32 int callerUid() const override;
33};
34
35}
36
37#endif // FAKEHELPERPROXY_H
Q_INTERFACES(...)
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:49:34 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.