File indexing completed on 2024-04-21 05:36:06

0001 /*
0002     SPDX-FileCopyrightText: 2018 David Edmundson <davidedmundson@kde.org>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include <KStatusNotifierItem>
0010 
0011 /**
0012  * Responsible for showing an SNI if the software renderer is used
0013  * to allow the a user to open the KCM
0014  */
0015 
0016 class SoftwareRendererNotifier : public KStatusNotifierItem
0017 {
0018     Q_OBJECT
0019 public:
0020     // only exposed as void static constructor as internally it is self memory managing
0021     static void notifyIfRelevant();
0022 
0023 private:
0024     SoftwareRendererNotifier(QObject *parent = nullptr);
0025     ~SoftwareRendererNotifier();
0026 };