Home · All Namespaces · All Classes
Static Public Member Functions

NotificationWidgetParameterFactory Class Reference

#include <notificationwidgetparameterfactory.h>

List of all members.

Static Public Member Functions

static QString iconIdKey ()
static QString previewIconIdKey ()
static QString summaryKey ()
static QString bodyKey ()
static QString imageIdKey ()
static QString actionKey ()
static QString userRemovableKey ()
static QString genericTextIdKey ()
static QString genericTextCatalogueKey ()
static NotificationParameter createIconIdParameter (const QString &iconId)
static NotificationParameter createPreviewIconIdParameter (const QString &previewIconId)
static NotificationParameter createBodyParameter (const QString &body)
static NotificationParameter createSummaryParameter (const QString &summary)
static NotificationParameter createImageIdParameter (const QString &imageId)
static NotificationParameter createActionParameter (const QString &action)
static NotificationParameter createUserRemovableParameter (bool userRemovable)
static NotificationParameter createGenericTextIdParameter (const QString &genericTextId)
static NotificationParameter createGenericTextCatalogueParameter (const QString &genericTextCatalogue)

Detailed Description

Creates NotificationParameters related to notification widgets.

Definition at line 29 of file notificationwidgetparameterfactory.h.


Member Function Documentation

static QString NotificationWidgetParameterFactory::actionKey (  )  [inline, static]

Returns the keyname of the content id parameter

Definition at line 72 of file notificationwidgetparameterfactory.h.

                               {
        return QString("action");
    }

static QString NotificationWidgetParameterFactory::bodyKey (  )  [inline, static]

Returns the keyname of the body parameter

Definition at line 58 of file notificationwidgetparameterfactory.h.

                             {
        return QString("body");
    }

static NotificationParameter NotificationWidgetParameterFactory::createActionParameter ( const QString &  action  )  [inline, static]

Creates a NotificationParameter with the given content ID.

Parameters:
action the action for the notification
Returns:
the related NotificationParameter

Definition at line 153 of file notificationwidgetparameterfactory.h.

                                                                              {
        return NotificationParameter(actionKey(), QVariant(action));
    }

Here is the call graph for this function:

static NotificationParameter NotificationWidgetParameterFactory::createBodyParameter ( const QString &  body  )  [inline, static]

Creates a NotificationParameter with the given body text.

Parameters:
body the body text for the notification
Returns:
the related NotificationParameter

Definition at line 123 of file notificationwidgetparameterfactory.h.

                                                                          {
        return NotificationParameter(bodyKey(), QVariant(body));
    }

Here is the call graph for this function:

static NotificationParameter NotificationWidgetParameterFactory::createGenericTextCatalogueParameter ( const QString &  genericTextCatalogue  )  [inline, static]

Creates a NotificationParameter with the given generic text catalogue value.

Parameters:
genericTextID catalogue for the generic text for the notification
Returns:
the related NotificationParameter

Definition at line 183 of file notificationwidgetparameterfactory.h.

                                                                                                          {
        return NotificationParameter(genericTextCatalogueKey(), QVariant(genericTextCatalogue));
    }

Here is the call graph for this function:

static NotificationParameter NotificationWidgetParameterFactory::createGenericTextIdParameter ( const QString &  genericTextId  )  [inline, static]

Creates a NotificationParameter with the given generic text value.

Parameters:
genericTextID ID for the generic text for the notification
Returns:
the related NotificationParameter

Definition at line 173 of file notificationwidgetparameterfactory.h.

                                                                                            {
        return NotificationParameter(genericTextIdKey(), QVariant(genericTextId));
    }

Here is the call graph for this function:

static NotificationParameter NotificationWidgetParameterFactory::createIconIdParameter ( const QString &  iconId  )  [inline, static]

Creates a NotificationParameter with the given icon ID.

Parameters:
iconId the icon ID for the notification
Returns:
the related NotificationParameter

Definition at line 103 of file notificationwidgetparameterfactory.h.

                                                                              {
        return NotificationParameter(iconIdKey(), QVariant(iconId));
    }

Here is the call graph for this function:

static NotificationParameter NotificationWidgetParameterFactory::createImageIdParameter ( const QString &  imageId  )  [inline, static]

Creates a NotificationParameter with the given image ID.

Parameters:
imageId the image ID for the notification
Returns:
the related NotificationParameter

Definition at line 143 of file notificationwidgetparameterfactory.h.

                                                                                {
        return NotificationParameter(imageIdKey(), QVariant(imageId));
    }

Here is the call graph for this function:

static NotificationParameter NotificationWidgetParameterFactory::createPreviewIconIdParameter ( const QString &  previewIconId  )  [inline, static]

Creates a NotificationParameter with the given preview icon ID.

Parameters:
previewIconId the preview icon ID for the notification
Returns:
the related NotificationParameter

Definition at line 113 of file notificationwidgetparameterfactory.h.

                                                                                            {
        return NotificationParameter(iconIdKey(), QVariant(previewIconId));
    }

Here is the call graph for this function:

static NotificationParameter NotificationWidgetParameterFactory::createSummaryParameter ( const QString &  summary  )  [inline, static]

Creates a NotificationParameter with the given summary text.

Parameters:
summary the summary text for the notification
Returns:
the related NotificationParameter

Definition at line 133 of file notificationwidgetparameterfactory.h.

                                                                                {
        return NotificationParameter(summaryKey(), QVariant(summary));
    }

Here is the call graph for this function:

static NotificationParameter NotificationWidgetParameterFactory::createUserRemovableParameter ( bool  userRemovable  )  [inline, static]

Creates a NotificationParameter with the given user removability value.

Parameters:
removable whether the notification is user removable
Returns:
the related NotificationParameter

Definition at line 163 of file notificationwidgetparameterfactory.h.

                                                                                  {
        return NotificationParameter(userRemovableKey(), QVariant(userRemovable));
    }

Here is the call graph for this function:

static QString NotificationWidgetParameterFactory::genericTextCatalogueKey (  )  [inline, static]

Returns the keyname of the translation catalogue of the generic text id

Definition at line 93 of file notificationwidgetparameterfactory.h.

                                             {
        return QString("genericTextCatalogue");
    }

static QString NotificationWidgetParameterFactory::genericTextIdKey (  )  [inline, static]

Returns the keyname of the generic text id key

Definition at line 86 of file notificationwidgetparameterfactory.h.

                                      {
        return QString("genericTextId");
    }

static QString NotificationWidgetParameterFactory::iconIdKey (  )  [inline, static]

Returns the keyname of the icon id parameter

Definition at line 36 of file notificationwidgetparameterfactory.h.

                               {
        return QString("iconId");
    }

static QString NotificationWidgetParameterFactory::imageIdKey (  )  [inline, static]

Returns the keyname of the image id parameter

Definition at line 65 of file notificationwidgetparameterfactory.h.

                                {
        return QString("imageId");
    }

static QString NotificationWidgetParameterFactory::previewIconIdKey (  )  [inline, static]

Returns the keyname of the preview icon id parameter

Definition at line 43 of file notificationwidgetparameterfactory.h.

                                      {
        return QString("previewIconId");
    }

static QString NotificationWidgetParameterFactory::summaryKey (  )  [inline, static]

Returns the keyname of the summary parameter

Definition at line 51 of file notificationwidgetparameterfactory.h.

                                {
        return QString("summary");
    }

static QString NotificationWidgetParameterFactory::userRemovableKey (  )  [inline, static]

Returns the keyname of the user removable parameter

Definition at line 79 of file notificationwidgetparameterfactory.h.

                                      {
        return QString("userRemovable");
    }


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

Copyright © 2010 Nokia Corporation Generated on Thu Nov 4 2010 18:19:35
Doxygen 1.7.1
MeeGo Touch