Home · All Namespaces · All Classes

NotificationParameter Class Reference

#include <notificationparameter.h>

Collaboration diagram for NotificationParameter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 NotificationParameter (const QString &name, const QVariant &value)
virtual ~NotificationParameter ()
QString name () const
QVariant value () const

Detailed Description

NotificationParameter is a class for providing a notification parameter.

Definition at line 29 of file notificationparameter.h.


Constructor & Destructor Documentation

NotificationParameter::NotificationParameter ( const QString &  name,
const QVariant &  value 
)

Creates a notification parameter with a given name and value.

Parameters:
name the name of the parameter
value the value of the parameter

Definition at line 22 of file notificationparameter.cpp.

00022                                                                                        :
00023     _name(name),
00024     _value(value)
00025 {
00026 }

NotificationParameter::~NotificationParameter (  )  [virtual]

Destroys the NotificationParameter.

Definition at line 28 of file notificationparameter.cpp.

00029 {
00030 }


Member Function Documentation

QString NotificationParameter::name (  )  const

Returns the name of the parameter.

Returns:
the name of the parameter

Definition at line 32 of file notificationparameter.cpp.

00033 {
00034     return _name;
00035 }

QVariant NotificationParameter::value (  )  const

Returns the value of the parameter.

Returns:
the value of the parameter

Definition at line 37 of file notificationparameter.cpp.

00038 {
00039     return _value;
00040 }


The documentation for this class was generated from the following files:

Copyright © 2010 Nokia Corporation Generated on Wed Nov 10 16:05:09 2010
Doxygen 1.6.1
MeeGo Touch