File: softwarerendernotifier.h

package info (click to toggle)
plasma-workspace 4%3A6.5.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 99,452 kB
  • sloc: cpp: 125,486; python: 4,246; xml: 2,449; perl: 572; sh: 230; javascript: 75; ruby: 39; ansic: 13; makefile: 9
file content (26 lines) | stat: -rw-r--r-- 608 bytes parent folder | download | duplicates (2)
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();
};