Changeset View
Changeset View
Standalone View
Standalone View
libnotificationmanager/notifications.h
Show First 20 Lines • Show All 251 Lines • ▼ Show 20 Line(s) | 211 | enum Roles { | |||
---|---|---|---|---|---|
252 | TimeoutRole, ///< The timeout for the notification in milliseconds. 0 means the notification should not timeout, -1 means a sensible default should be applied. | 252 | TimeoutRole, ///< The timeout for the notification in milliseconds. 0 means the notification should not timeout, -1 means a sensible default should be applied. | ||
253 | 253 | | |||
254 | ConfigurableRole, ///< Whether the notification can be configured because a desktopEntry or notifyRcName is known, or the notification has a setting action. @sa configure | 254 | ConfigurableRole, ///< Whether the notification can be configured because a desktopEntry or notifyRcName is known, or the notification has a setting action. @sa configure | ||
255 | ConfigureActionLabelRole, ///< The user-visible label for the settings action | 255 | ConfigureActionLabelRole, ///< The user-visible label for the settings action | ||
256 | ClosableRole, ///< Whether the item can be closed. Notifications are always closable, jobs are only when in JobStateStopped. | 256 | ClosableRole, ///< Whether the item can be closed. Notifications are always closable, jobs are only when in JobStateStopped. | ||
257 | 257 | | |||
258 | ExpiredRole, ///< The notification timed out and closed. Actions on it cannot be invoked anymore. | 258 | ExpiredRole, ///< The notification timed out and closed. Actions on it cannot be invoked anymore. | ||
259 | DismissedRole, ///< The notification got temporarily hidden by the user but could still be interacted with. | 259 | DismissedRole, ///< The notification got temporarily hidden by the user but could still be interacted with. | ||
260 | ReadRole ///< Whether the notification got read by the user. If true, the notification isn't considered unread even if created after lastRead. @since 5.17 | 260 | ReadRole, ///< Whether the notification got read by the user. If true, the notification isn't considered unread even if created after lastRead. @since 5.17 | ||
261 | | ||||
262 | UserActionFeedbackRole, ///< Whether this notification is a response/confirmation to an explicit user action. @since 5.18 | ||||
261 | }; | 263 | }; | ||
262 | Q_ENUM(Roles) | 264 | Q_ENUM(Roles) | ||
263 | 265 | | |||
264 | /** | 266 | /** | ||
265 | * The type of model item. | 267 | * The type of model item. | ||
266 | */ | 268 | */ | ||
267 | enum Type { | 269 | enum Type { | ||
268 | NoType, | 270 | NoType, | ||
▲ Show 20 Lines • Show All 258 Lines • Show Last 20 Lines |