Changeset View
Changeset View
Standalone View
Standalone View
libtaskmanager/abstracttasksmodel.h
Show First 20 Lines • Show All 90 Lines • ▼ Show 20 Line(s) | 88 | AppPid, /**< Application Process ID. This is provided best-effort, and may not | |||
---|---|---|---|---|---|
91 | itself. DO NOT use this for destructive actions such as closing | 91 | itself. DO NOT use this for destructive actions such as closing | ||
92 | the application. The intended use case is to try and (smartly) | 92 | the application. The intended use case is to try and (smartly) | ||
93 | gather more information about the task when needed. */ | 93 | gather more information about the task when needed. */ | ||
94 | StackingOrder, /**< A window task's index in the window stacking order. Care must be | 94 | StackingOrder, /**< A window task's index in the window stacking order. Care must be | ||
95 | taken not to assume this index to be unique when iterating over | 95 | taken not to assume this index to be unique when iterating over | ||
96 | model contents due to the asynchronous nature of the windowing | 96 | model contents due to the asynchronous nature of the windowing | ||
97 | system. */ | 97 | system. */ | ||
98 | LastActivated, /**< The timestamp of the last time a task was the active task. */ | 98 | LastActivated, /**< The timestamp of the last time a task was the active task. */ | ||
99 | ApplicationMenuServiceName, /**< The DBus service name for the application's menu. | ||||
broulik: `@since 5.19` | |||||
broulik: This is plasma-workspace, not plasma-framework, so `5.19` it is. | |||||
100 | May be empty. @since 5.19 */ | ||||
101 | ApplicationMenuObjectPath,/**< The DBus object path for the application's menu. | ||||
102 | May be empty. @since 5.19 */ | ||||
99 | }; | 103 | }; | ||
100 | Q_ENUM(AdditionalRoles) | 104 | Q_ENUM(AdditionalRoles) | ||
101 | 105 | | |||
102 | explicit AbstractTasksModel(QObject *parent = nullptr); | 106 | explicit AbstractTasksModel(QObject *parent = nullptr); | ||
103 | ~AbstractTasksModel() override; | 107 | ~AbstractTasksModel() override; | ||
104 | 108 | | |||
105 | QHash<int, QByteArray> roleNames() const override; | 109 | QHash<int, QByteArray> roleNames() const override; | ||
106 | 110 | | |||
▲ Show 20 Lines • Show All 200 Lines • Show Last 20 Lines |
@since 5.19