You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
713 B
39 lines
713 B
#pragma once |
|
|
|
/* |
|
* SPDX-FileCopyrightText: 2003-2010 Craig Drummond <craig@kde.org> |
|
* SPDX-License-Identifier: GPL-2.0-or-later |
|
*/ |
|
|
|
#include <KAuth> |
|
#include <QObject> |
|
#include <QSet> |
|
|
|
using namespace KAuth; |
|
|
|
namespace KFI |
|
{ |
|
class Helper : public QObject |
|
{ |
|
Q_OBJECT |
|
|
|
public: |
|
Helper(); |
|
~Helper() override; |
|
|
|
public Q_SLOTS: |
|
|
|
ActionReply manage(const QVariantMap &args); |
|
|
|
private: |
|
int install(const QVariantMap &args); |
|
int uninstall(const QVariantMap &args); |
|
int move(const QVariantMap &args); |
|
int toggle(const QVariantMap &args); |
|
int removeFile(const QVariantMap &args); |
|
int reconfigure(); |
|
int saveDisabled(); |
|
int checkWriteAction(const QStringList &files); |
|
}; |
|
|
|
}
|
|
|