File: systemtrayicon.h

package info (click to toggle)
krdc 4%3A22.12.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,240 kB
  • sloc: cpp: 6,392; xml: 135; makefile: 8; sh: 5
file content (29 lines) | stat: -rw-r--r-- 485 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
27
28
29
/*
    SPDX-FileCopyrightText: 2008 Urs Wolfer <uwolfer@kde.org>

    SPDX-License-Identifier: GPL-2.0-or-later
*/

#ifndef SYSTEMTRAYICON_H
#define SYSTEMTRAYICON_H

#include <KStatusNotifierItem>

class MainWindow;

class SystemTrayIcon : public KStatusNotifierItem
{
    Q_OBJECT

public:
    explicit SystemTrayIcon(MainWindow *parent);
    ~SystemTrayIcon() override;

public Q_SLOTS:
    void checkActivatedWindow(bool active);

private:
    MainWindow *m_mainWindow;
};

#endif