#include <notificationparameters.h>
List of all members.
Detailed Description
Notification parameters is a class for providing parameters for classes that can present notifications.
Constructor & Destructor Documentation
NotificationParameters::NotificationParameters |
( |
|
) |
|
NotificationParameters::~NotificationParameters |
( |
|
) |
[virtual] |
Member Function Documentation
void NotificationParameters::add |
( |
const QString & |
parameter, |
|
|
const QVariant & |
value | |
|
) |
| | |
Adds a new parameter to the parameters with a given value.
- Parameters:
-
| parameter | the name of the parameter |
| value | the value of the parameter |
Adds a new parameter to the parameters.
- Parameters:
-
| parameter | the parameter to be added |
int NotificationParameters::count |
( |
|
) |
const |
Returns the number of parameters stored in this container.
- Returns:
- the number of parameters stored
Updates these parameters from another set of parameters. This updates the existing parameters and adds new ones found from the argument. The existing parameters that are not found in the argument are kept untouched.
- Parameters:
-
| parameters | the parameters to be updated. |
QVariant NotificationParameters::value |
( |
const QString & |
parameter |
) |
const |
Returns the value of a parameter.
- Parameters:
-
| parameter | the name of the parameter |
- Returns:
- the value of the parameter
Friends And Related Function Documentation
const QDBusArgument& operator>> |
( |
const QDBusArgument & |
argument, |
|
|
NotificationParameters & |
parameters | |
|
) |
| | [friend] |
The documentation for this class was generated from the following files: