File indexing completed on 2024-04-21 16:19:52
0001 // SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0002 // SPDX-FileCopyrightText: 2020 Harald Sitter <sitter@kde.org> 0003 0004 #ifndef HELPER_H 0005 #define HELPER_H 0006 #include <QObject> 0007 #include <kauth_version.h> 0008 #if KAUTH_VERSION >= QT_VERSION_CHECK(5, 92, 0) 0009 #include <KAuth/ActionReply> 0010 #include <KAuth/HelperSupport> 0011 #else 0012 #include <KAuth> 0013 #endif 0014 0015 using namespace KAuth; 0016 0017 class SMARTHelper : public QObject 0018 { 0019 Q_OBJECT 0020 public Q_SLOTS: 0021 ActionReply smartctl(const QVariantMap &args); 0022 }; 0023 0024 #endif // HELPER_H