File indexing completed on 2024-04-21 05:45:11
0001 /* 0002 SPDX-FileCopyrightText: 2018 Harald Sitter <sitter@kde.org> 0003 SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0004 */ 0005 0006 #pragma once 0007 0008 #include <QObject> 0009 0010 class KStatusNotifierItem; 0011 0012 class Notifier : public QObject 0013 { 0014 Q_OBJECT 0015 public: 0016 using QObject::QObject; 0017 0018 void show(const QString &name, const QString &version, const QDate &eolDate); 0019 0020 signals: 0021 void activateRequested(); 0022 0023 private: 0024 void init(); 0025 0026 KStatusNotifierItem *m_notifier = nullptr; 0027 };