My Project
|
A list of notifications to be displayed. More...
#include <unity/shell/notifications/ModelInterface.h>
Public Types | |
enum | Roles { RoleType = Qt::UserRole + 1, RoleUrgency = Qt::UserRole + 2, RoleId = Qt::UserRole + 3, RoleSummary = Qt::UserRole + 4, RoleBody = Qt::UserRole + 5, RoleValue = Qt::UserRole + 6, RoleIcon = Qt::UserRole + 7, RoleSecondaryIcon = Qt::UserRole + 8, RoleActions = Qt::UserRole + 9, RoleHints = Qt::UserRole + 10, RoleNotification = Qt::UserRole + 11 } |
NotificationModel's data-role enumeration. More... | |
Signals | |
void | confirmationPlaceholderChanged (bool confirmationPlaceholder) |
A list of notifications to be displayed.
This model exposes all the notifications that are currently supposed to be on screen. Not all of them might actually get on screen due to screen size, in which case the NotificationInterface::displayed() signal will only be emitted after the notification was actually displayed.
NotificationModel's data-role enumeration.
The different data-entries of a notification element in the model.
|
signal |
Emitted when value of the confirmationPlaceholder property has changed.
confirmationPlaceholder | New value of the confirmationPlaceholder property. |