File indexing completed on 2024-05-19 05:48:45
0001 /* ======================================================================== 0002 * Copyright (C) 2015-2021 Blaze <blaze@vivaldi.net> 0003 * 0004 * This file is part of Zeit. 0005 * 0006 * Zeit is free software: you can redistribute it and/or modify 0007 * it under the terms of the GNU General Public License as published by 0008 * the Free Software Foundation, either version 3 of the License, or 0009 * (at your option) any later version. 0010 * 0011 * Zeit is distributed in the hope that it will be useful, 0012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 0013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0014 * GNU General Public License for more details. 0015 * 0016 * You should have received a copy of the GNU General Public License 0017 * along with Zeit. If not, see <http://www.gnu.org/licenses/>. 0018 * ======================================================================== * 0019 * 0020 * This file was modified to fit into the project Kcron. 0021 * The same license terms apply. 0022 * 0023 * ======================================================================== */ 0024 0025 #pragma once 0026 #include <KAuth/ActionReply> 0027 #include <KAuth/HelperSupport> 0028 #include <QObject> 0029 #include <kauth_version.h> 0030 0031 using namespace KAuth; 0032 0033 // usage of fully qualified type here renders the helper app fully ;) unusable 0034 // clazy:excludeall=fully-qualified-moc-types 0035 class KcronHelper : public QObject 0036 { 0037 Q_OBJECT 0038 0039 public Q_SLOTS: 0040 ActionReply save(const QVariantMap &args); 0041 };