Home · All Namespaces · All Classes
Static Public Member Functions

GenericNotificationParameterFactory Class Reference

#include <genericnotificationparameterfactory.h>

List of all members.

Static Public Member Functions

static QString eventTypeKey ()
static QString countKey ()
static QString persistentKey ()
static QString classKey ()
static QString unseenKey ()
static QString identifierKey ()
static NotificationParameter createEventTypeParameter (const QString &eventType)
static NotificationParameter createCountParameter (uint count)
static NotificationParameter createPersistentParameter (bool persistent)
static NotificationParameter createClassParameter (const QString &notificationClass)
static NotificationParameter createUnseenParameter (bool unseen)
static NotificationParameter createIdentifierParameter (const QString &identifier)

Detailed Description

Creates NotificationParameter objects from generic parameters that are common to various sinks.


Member Function Documentation

static QString GenericNotificationParameterFactory::classKey (  )  [inline, static]

Returns the keyname of the class parameter

static QString GenericNotificationParameterFactory::countKey (  )  [inline, static]

Returns the keyname of the count parameter

static NotificationParameter GenericNotificationParameterFactory::createClassParameter ( const QString &  notificationClass  )  [inline, static]

Creates a NotificationParameter with the given class.

Parameters:
notificationClass the class of the notification
Returns:
the related NotificationParameter
static NotificationParameter GenericNotificationParameterFactory::createCountParameter ( uint  count  )  [inline, static]

Creates a NotificationParameter with the given count.

Parameters:
count the count of the notification
Returns:
the related NotificationParameter
static NotificationParameter GenericNotificationParameterFactory::createEventTypeParameter ( const QString &  eventType  )  [inline, static]

Creates a NotificationParameter with the given event type.

Parameters:
eventType the event type of the notification
Returns:
the related NotificationParameter
static NotificationParameter GenericNotificationParameterFactory::createIdentifierParameter ( const QString &  identifier  )  [inline, static]

Creates a NotificationParameter with the given identifier.

Parameters:
identifier the identifier of the notification
Returns:
the related NotificationParameter
static NotificationParameter GenericNotificationParameterFactory::createPersistentParameter ( bool  persistent  )  [inline, static]

Creates a NotificationParameter with the given persistence.

Parameters:
persistent true if the notification is persistent, false otherwise
Returns:
the related NotificationParameter
static NotificationParameter GenericNotificationParameterFactory::createUnseenParameter ( bool  unseen  )  [inline, static]

Creates a NotificationParameter with the given unseen status.

Parameters:
unseen the unseen status of the notification
Returns:
the related NotificationParameter
static QString GenericNotificationParameterFactory::eventTypeKey (  )  [inline, static]

Returns the keyname of the event type parameter

static QString GenericNotificationParameterFactory::identifierKey (  )  [inline, static]

Returns the keyname of the identifier parameter

static QString GenericNotificationParameterFactory::persistentKey (  )  [inline, static]

Returns the keyname of the persistent parameter

static QString GenericNotificationParameterFactory::unseenKey (  )  [inline, static]

Returns the keyname of the unseen parameter


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

Copyright © 2011 Nokia Corporation Generated on Tue Aug 30 2011 16:38:13
Doxygen 1.7.1
MeeGo Touch