A Notification object.
More...
#include <unity/shell/notifications/NotificationInterface.h>
A Notification object.
This class exposes signals used by the UI to communicate the state of a notification.
void unity::shell::notifications::NotificationInterface::actionInvoked |
( |
const QString & |
id | ) |
|
|
signal |
Will be called whenever an action of this notification is to be invoked.
- Parameters
-
id | Id of the invoked action. |
void unity::shell::notifications::NotificationInterface::dismissed |
( |
| ) |
|
|
signal |
Will be called whenever the notification was dismissed. This can be called internally by the notification implementation (e.g. timeout) or from the UI when the user dismisses a notification.
void unity::shell::notifications::NotificationInterface::displayed |
( |
bool |
displayed | ) |
|
|
signal |
Will be called whenever the display status of a notification changes.
- Parameters
-
displayed | Visible/hidden status of this notification. |
void unity::shell::notifications::NotificationInterface::hovered |
( |
bool |
hovered | ) |
|
|
signal |
Will be called whenever the mouse hover status of a notification changes.
- Parameters
-
hovered | Mouse hover status of this notification. |
The documentation for this class was generated from the following file: