File indexing completed on 2025-02-16 14:22:57
0001 /* 0002 * SPDX-FileCopyrightText: 2021 Aleix Pol Gonzalez <aleixpol@kde.org> 0003 * 0004 * SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #ifndef STARTUPNOTIFIER_H 0008 #define STARTUPNOTIFIER_H 0009 0010 #include <QObject> 0011 0012 namespace KWayland 0013 { 0014 } 0015 0016 class StartupNotifier : public QObject 0017 { 0018 Q_OBJECT 0019 Q_PROPERTY(bool isValid READ isValid CONSTANT) 0020 public: 0021 explicit StartupNotifier(QObject *parent = nullptr); 0022 bool isValid() const; 0023 0024 Q_SIGNALS: 0025 void activationStarted(const QString &appId, const QString &iconName); 0026 void activationFinished(); 0027 }; 0028 0029 #endif