1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
/*
SPDX-FileCopyrightText: 2018 David Edmundson <davidedmundson@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#pragma once
#include <KStatusNotifierItem>
/**
* Responsible for showing an SNI if the software renderer is used
* to allow the a user to open the KCM
*/
class SoftwareRendererNotifier : public KStatusNotifierItem
{
Q_OBJECT
public:
// only exposed as void static constructor as internally it is self memory managing
static void notifyIfRelevant();
private:
explicit SoftwareRendererNotifier(QObject *parent = nullptr);
~SoftwareRendererNotifier();
};
|