Changeset View
Changeset View
Standalone View
Standalone View
libnotificationmanager/notificationsmodel.cpp
Show First 20 Lines • Show All 294 Lines • ▼ Show 20 Line(s) | 255 | { | |||
---|---|---|---|---|---|
295 | case Notifications::ActionNamesRole: return notification.actionNames(); | 295 | case Notifications::ActionNamesRole: return notification.actionNames(); | ||
296 | case Notifications::ActionLabelsRole: return notification.actionLabels(); | 296 | case Notifications::ActionLabelsRole: return notification.actionLabels(); | ||
297 | case Notifications::HasDefaultActionRole: return notification.hasDefaultAction(); | 297 | case Notifications::HasDefaultActionRole: return notification.hasDefaultAction(); | ||
298 | case Notifications::DefaultActionLabelRole: return notification.defaultActionLabel(); | 298 | case Notifications::DefaultActionLabelRole: return notification.defaultActionLabel(); | ||
299 | 299 | | |||
300 | case Notifications::UrlsRole: return QVariant::fromValue(notification.urls()); | 300 | case Notifications::UrlsRole: return QVariant::fromValue(notification.urls()); | ||
301 | 301 | | |||
302 | case Notifications::UrgencyRole: return static_cast<int>(notification.urgency()); | 302 | case Notifications::UrgencyRole: return static_cast<int>(notification.urgency()); | ||
303 | case Notifications::UserActionFeedbackRole: return notification.userActionFeedback(); | ||||
303 | 304 | | |||
304 | case Notifications::TimeoutRole: return notification.timeout(); | 305 | case Notifications::TimeoutRole: return notification.timeout(); | ||
305 | 306 | | |||
306 | case Notifications::ClosableRole: return true; | 307 | case Notifications::ClosableRole: return true; | ||
307 | case Notifications::ConfigurableRole: return notification.configurable(); | 308 | case Notifications::ConfigurableRole: return notification.configurable(); | ||
308 | case Notifications::ConfigureActionLabelRole: return notification.configureActionLabel(); | 309 | case Notifications::ConfigureActionLabelRole: return notification.configureActionLabel(); | ||
309 | 310 | | |||
310 | case Notifications::ExpiredRole: return notification.expired(); | 311 | case Notifications::ExpiredRole: return notification.expired(); | ||
▲ Show 20 Lines • Show All 197 Lines • Show Last 20 Lines |