1/*
2 SPDX-FileCopyrightText: 2017 Chinmoy Ranjan Pradhan <chinmoyrp65@gmail.com>
3
4 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5*/
6
7#ifndef FILEHELPER_H
8#define FILEHELPER_H
9
10#include <KAuth/ActionReply>
11
12using namespace KAuth;
13
14/**
15 * This KAuth helper is responsible for performing file operations with
16 * root privileges.
17 */
18class FileHelper : public QObject
19{
20 Q_OBJECT
21
22public Q_SLOTS:
23 /**
24 * Execute action with root privileges.
25 **/
26 KAuth::ActionReply exec(const QVariantMap &args);
27};
28
29#endif
30

source code of kio/src/kioworkers/file/kauth/filehelper.h