Home · All Namespaces · All Classes
Public Member Functions

ContextFrameworkItem Class Reference

#include <contextframeworkcontext.h>

Inheritance diagram for ContextFrameworkItem:
Inheritance graph
[legend]
Collaboration diagram for ContextFrameworkItem:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ContextFrameworkItem (const QString &key)
QVariant value () const
void subscribe () const
void unsubscribe () const

Detailed Description

Context item that monitors a given context framework item.


Constructor & Destructor Documentation

ContextFrameworkItem::ContextFrameworkItem ( const QString &  key  ) 

Default constructor. Creates a new ContextFrameworkItem to track a given ContextProperty.

Parameters:
key The key of the ContextProperty of context framework to be tracked by this ContextFrameworkItem.

Member Function Documentation

void ContextFrameworkItem::subscribe (  )  const [virtual]

Subscribe to change notification of this context item.

Implements ContextItem.

void ContextFrameworkItem::unsubscribe (  )  const [virtual]

Unsubscribe to change notification of this context item.

Implements ContextItem.

QVariant ContextFrameworkItem::value (  )  const [virtual]

Returns current value of the context item.

Returns:
Current value of the context item as a QVariant.

Implements ContextItem.


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

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