![]() |
Home · All Namespaces · All Classes |
#include <notificationmanagerinterface.h>
Public Slots | |
virtual bool | removeNotification (uint notificationUserId, uint notificationId)=0 |
Public Member Functions | |
virtual uint | addNotification (uint notificationUserId, const NotificationParameters ¶meters=NotificationParameters(), uint groupId=0)=0 |
virtual bool | updateNotification (uint notificationUserId, uint notificationId, const NotificationParameters ¶meters=NotificationParameters())=0 |
virtual uint | addGroup (uint notificationUserId, const NotificationParameters ¶meters=NotificationParameters())=0 |
virtual bool | updateGroup (uint notificationUserId, uint groupId, const NotificationParameters ¶meters=NotificationParameters())=0 |
virtual bool | removeGroup (uint notificationUserId, uint groupId)=0 |
virtual QList< NotificationGroup > | groups () const =0 |
Returns copy of groups known to manager. | |
virtual QList< Notification > | notifications () const =0 |
Returns copy of notifications know to manager. | |
virtual uint | notificationUserId ()=0 |
virtual QList< uint > | notificationIdList (uint notificationUserId)=0 |
virtual QList< Notification > | notificationList (uint notificationUserId)=0 |
virtual QList< Notification > | notificationListWithIdentifiers (uint notificationUserId)=0 |
virtual QList< NotificationGroup > | notificationGroupList (uint notificationUserId)=0 |
virtual QList< NotificationGroup > | notificationGroupListWithIdentifiers (uint notificationUserId)=0 |
virtual uint | notificationCountInGroup (uint notificationUserId, uint groupId)=0 |
virtual QObject * | qObject ()=0 |
Abstract notification manager interface. Declares interface for adding, updating, removing individual notifications as well as adding a notification to the group, updating and removing the group.
virtual uint NotificationManagerInterface::addGroup | ( | uint | notificationUserId, | |
const NotificationParameters & | parameters = NotificationParameters() | |||
) | [pure virtual] |
Adds a new notification group. Later on notifications can be added to this group.
notificationUserId | the ID of the user of notifications | |
parameters | Parameters for the notification group |
Implemented in NotificationManager.
virtual uint NotificationManagerInterface::addNotification | ( | uint | notificationUserId, | |
const NotificationParameters & | parameters = NotificationParameters() , |
|||
uint | groupId = 0 | |||
) | [pure virtual] |
Adds a notification. Optionally adds the notification to a notification group. The default group number 0 means that the notification is not added to any group. You can create groups by calling addGroup
.
If an invalid group ID is given the notification is not added. In this case 0 is returned.
notificationUserId | the ID of the user of notifications | |
parameters | Parameters for the notification | |
groupId | A notification group where this notification is added. | |
type | the type of the notification. |
Implemented in NotificationManager.
virtual QList<NotificationGroup> NotificationManagerInterface::groups | ( | ) | const [pure virtual] |
Returns copy of groups known to manager.
Implemented in NotificationManager.
virtual uint NotificationManagerInterface::notificationCountInGroup | ( | uint | notificationUserId, | |
uint | groupId | |||
) | [pure virtual] |
Returns amount of notifications in a given group
notificationUserId | the ID of the user of notifications | |
groupId | the group ID |
Implemented in NotificationManager.
virtual QList<NotificationGroup> NotificationManagerInterface::notificationGroupList | ( | uint | notificationUserId | ) | [pure virtual] |
Returns list of notification groups by user id
notificationUserId | the ID of the user of notifications |
Implemented in NotificationManager.
virtual QList<NotificationGroup> NotificationManagerInterface::notificationGroupListWithIdentifiers | ( | uint | notificationUserId | ) | [pure virtual] |
Returns list of notification groups with identifiers by user id
notificationUserId | the ID of the user of notifications |
Implemented in NotificationManager.
virtual QList<uint> NotificationManagerInterface::notificationIdList | ( | uint | notificationUserId | ) | [pure virtual] |
Returns list of notification ids by user id
notificationUserId | the ID of the user of notifications |
Implemented in NotificationManager.
virtual QList<Notification> NotificationManagerInterface::notificationList | ( | uint | notificationUserId | ) | [pure virtual] |
Returns list of notifications by user id
notificationUserId | the ID of the user of notifications |
Implemented in NotificationManager.
virtual QList<Notification> NotificationManagerInterface::notificationListWithIdentifiers | ( | uint | notificationUserId | ) | [pure virtual] |
Returns list of notifications with identifiers by user id
notificationUserId | the ID of the user of notifications |
Implemented in NotificationManager.
virtual QList<Notification> NotificationManagerInterface::notifications | ( | ) | const [pure virtual] |
Returns copy of notifications know to manager.
Implemented in NotificationManager.
virtual uint NotificationManagerInterface::notificationUserId | ( | ) | [pure virtual] |
Returns a user ID for the notification system. The user ID has to be supplied with every notification system call.
Implemented in NotificationManager.
virtual QObject* NotificationManagerInterface::qObject | ( | ) | [pure virtual] |
Returns the qObject that implements the manager for signal connections.
Implemented in NotificationManager.
virtual bool NotificationManagerInterface::removeGroup | ( | uint | notificationUserId, | |
uint | groupId | |||
) | [pure virtual] |
Removes a notification group.
notificationUserId | the ID of the user of notifications | |
groupId | The ID of the notification group to be removed. |
Implemented in NotificationManager.
virtual bool NotificationManagerInterface::removeNotification | ( | uint | notificationUserId, | |
uint | notificationId | |||
) | [pure virtual, slot] |
Removes a notification.
notificationUserId | the ID of the user of notifications | |
notificationId | The ID of the notification to be removed. |
Implemented in NotificationManager.
virtual bool NotificationManagerInterface::updateGroup | ( | uint | notificationUserId, | |
uint | groupId, | |||
const NotificationParameters & | parameters = NotificationParameters() | |||
) | [pure virtual] |
Updates the contents of a notification group.
notificationUserId | the ID of the user of notifications | |
groupId | The ID of the notification group to be updated | |
parameters | Parameters for the notification group |
Implemented in NotificationManager.
virtual bool NotificationManagerInterface::updateNotification | ( | uint | notificationUserId, | |
uint | notificationId, | |||
const NotificationParameters & | parameters = NotificationParameters() | |||
) | [pure virtual] |
Updates a notification.
notificationUserId | the ID of the user of notifications | |
notificationId | The ID of the notification to be updated | |
parameters | Parameters for the notification |
Implemented in NotificationManager.
Copyright © 2011 Nokia Corporation | Generated on Tue Aug 30 2011 16:38:13 Doxygen 1.7.1 |
MeeGo Touch |