mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-02-19 05:35:53 +00:00
27 lines
599 B
C
27 lines
599 B
C
|
/*
|
||
|
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();
|
||
|
};
|