File indexing completed on 2024-04-28 05:47:28
0001 /******************************************************************************* 0002 * Copyright (C) 2016 Ragnar Thomsen <rthomsen6@gmail.com> * 0003 * * 0004 * This program is free software: you can redistribute it and/or modify it * 0005 * under the terms of the GNU General Public License as published by the Free * 0006 * Software Foundation, either version 2 of the License, or (at your option) * 0007 * any later version. * 0008 * * 0009 * This program is distributed in the hope that it will be useful, but WITHOUT * 0010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * 0011 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for * 0012 * more details. * 0013 * * 0014 * You should have received a copy of the GNU General Public License along * 0015 * with this program. If not, see <http://www.gnu.org/licenses/>. * 0016 *******************************************************************************/ 0017 0018 #ifndef HELPER_H 0019 #define HELPER_H 0020 0021 #include <KAuth/ActionReply> 0022 using namespace KAuth; 0023 0024 class Helper : public QObject 0025 { 0026 Q_OBJECT 0027 0028 public Q_SLOTS: 0029 ActionReply saveunitfile(const QVariantMap& args); 0030 ActionReply dbusaction(const QVariantMap& args); 0031 }; 0032 0033 #endif