#include <notificationsink.h>
List of all members.
Detailed Description
Notification sink is an abstract interface for classes that can present notifications. Concrete notification sinks are responsible for presenting notifications and possibly notifying the NotificationManagerInterface if the notification was dismissed.
Constructor & Destructor Documentation
NotificationSink::NotificationSink |
( |
QObject * |
parent = NULL |
) |
|
Member Function Documentation
Creates a notification group.
- Parameters:
-
virtual void NotificationSink::addNotification |
( |
const Notification & |
notification |
) |
[pure virtual, slot] |
Adds a notification to be presented.
- Parameters:
-
| notification | the data of the notification |
Implemented in UnlockNotificationSink.
bool NotificationSink::applicationEventsEnabled |
( |
|
) |
|
Returns whether the the sink should process notifications with ApplicationEvent type.
bool NotificationSink::canAddNotification |
( |
const Notification & |
notification |
) |
[protected] |
Returns whether the sink should add the given notification
- Parameters:
-
| notification | the notification |
Reimplemented in UnlockNotificationSink.
void NotificationSink::notificationGroupClearingRequested |
( |
uint |
groupId |
) |
[signal] |
Requests removal of notifications in a group.
- Parameters:
-
| groupId | Id of the group to be cleared. |
void NotificationSink::notificationRemovalRequested |
( |
uint |
notificationId |
) |
[signal] |
void NotificationSink::removeGroup |
( |
uint |
groupId |
) |
[virtual, slot] |
Removes a notification group.
- Parameters:
-
| groupId | the ID of the group |
virtual void NotificationSink::removeNotification |
( |
uint |
notificationId |
) |
[pure virtual, slot] |
Removes a notification.
- Parameters:
-
| notificationId | the ID of the notification to be removed |
Implemented in UnlockNotificationSink.
void NotificationSink::setApplicationEventsEnabled |
( |
bool |
enabled |
) |
|
Sets whether the the sink should process notifications with ApplicationEvent type
- Parameters:
-
The documentation for this class was generated from the following files: