File indexing completed on 2025-04-20 04:34:46
0001 /* 0002 SPDX-FileCopyrightText: 2008 Urs Wolfer <uwolfer@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef SYSTEMTRAYICON_H 0008 #define SYSTEMTRAYICON_H 0009 0010 #include <KStatusNotifierItem> 0011 0012 class MainWindow; 0013 0014 class SystemTrayIcon : public KStatusNotifierItem 0015 { 0016 Q_OBJECT 0017 0018 public: 0019 explicit SystemTrayIcon(MainWindow *parent); 0020 ~SystemTrayIcon() override; 0021 0022 public Q_SLOTS: 0023 void checkActivatedWindow(bool active); 0024 0025 private: 0026 MainWindow *m_mainWindow; 0027 }; 0028 0029 #endif