A class for storing notification group information.
More...
#include <notificationgroup.h>
List of all members.
Detailed Description
A class for storing notification group information.
The information can also be serialized in and out of a QDataStream.
Constructor & Destructor Documentation
NotificationGroup::NotificationGroup |
( |
|
) |
|
Empty constructor. Initializes the values to defaults.
Constructor.
- Parameters:
-
| groupId | group ID of this notification group |
| userId | user ID of this notification group |
| parameters | The parameters for the notification group to be presented |
NotificationGroup::~NotificationGroup |
( |
|
) |
|
Member Function Documentation
uint NotificationGroup::groupId |
( |
|
) |
const |
Returns the group ID of this notification group.
- Returns:
- group ID of this notification group
Returns the parameters list for this notification group.
- Returns:
- parameters list for this notification group
Sets the parameters list for this notification group.
- Parameters:
-
| parameters | parameters for this notification group |
- See also:
- updateParameters
Updates the parameters of this notification group. The existing parameters in the notification group remain as they are. Only new values from the argument are appended/updated.
- Parameters:
-
| parameters | the parameters that will be updated |
- See also:
- setParameters
uint NotificationGroup::userId |
( |
|
) |
const |
Returns the user ID associated with this notification group.
- Returns:
- user ID associated with this notification group
Friends And Related Function Documentation
QDBusArgument& operator<< |
( |
QDBusArgument & |
argument, |
|
|
const NotificationGroup & |
group | |
|
) |
| | [friend] |
const QDBusArgument& operator>> |
( |
const QDBusArgument & |
argument, |
|
|
NotificationGroup & |
group | |
|
) |
| | [friend] |
Deserializes a NotificationGroup from a QDataStream
- Parameters:
-
| datastream | QDataStream to read from |
| notificationGroup | the target NotificationGroup object, its previous state will be reset |
The documentation for this class was generated from the following files: