File indexing completed on 2024-04-28 05:36:15
0001 /* This file is part of the KDE project 0002 * SPDX-FileCopyrightText: 2016 Jan Grulich <jgrulich@redhat.com> 0003 * 0004 * SPDX-License-Identifier: LGPL-2.0-only 0005 * 0006 */ 0007 0008 #pragma once 0009 0010 #include <KAuth/ActionReply> 0011 #include <KAuth/HelperSupport> 0012 #include <QObject> 0013 #include <kauth_version.h> 0014 0015 using namespace KAuth; 0016 0017 class DiscreteGpuHelper : public QObject 0018 { 0019 Q_OBJECT 0020 public: 0021 explicit DiscreteGpuHelper(QObject *parent = nullptr); 0022 0023 public Q_SLOTS: 0024 ActionReply hasdualgpu(const QVariantMap &args); 0025 };