3
0
mirror of https://github.com/Qortal/Brooklyn.git synced 2025-02-19 05:35:53 +00:00
Brooklyn/plasma/workspace/shell/softwarerendernotifier.h

27 lines
599 B
C
Raw Normal View History

2022-03-05 22:41:29 +05:00
/*
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:
SoftwareRendererNotifier(QObject *parent = nullptr);
~SoftwareRendererNotifier();
};