DtkWidget 5.6.0.2
DTK Widget module
startupnotificationmonitor.h
1// SPDX-FileCopyrightText: 2017 - 2022 UnionTech Software Technology Co., Ltd.
2//
3// SPDX-License-Identifier: LGPL-3.0-or-later
4
5#ifndef STARTUPNOTIFICATIONMONITOR_H
6#define STARTUPNOTIFICATIONMONITOR_H
7
8#include <QObject>
9#include <QAbstractNativeEventFilter>
10
12{
14public:
15 static StartupNotificationMonitor* instance();
16
18
25
31
32protected:
34
35 bool nativeEventFilter(const QByteArray &eventType, void *message, long *result);
36};
37
38#endif // STARTUPNOTIFICATIONMONITOR_H
The StartupNotificationMonitor class is used to monitor the startup of applications on the system.
Definition: startupnotificationmonitor.h:12
void appStartup(QString id)
appStartup is emitted when an application is starting up. id is the startup id associated with the st...
void appStartupCompleted(QString id)
appStartupCompleted is emitted when the start up process of an applciation is finished....
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS