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.

Definition at line 45 of file contextframeworkcontext.h.


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.

Definition at line 45 of file contextframeworkcontext.cpp.

{
}


Member Function Documentation

void ContextFrameworkItem::subscribe (  )  const [virtual]

Subscribe to change notification of this context item.

Implements ContextItem.

Definition at line 54 of file contextframeworkcontext.cpp.

{
}

void ContextFrameworkItem::unsubscribe (  )  const [virtual]

Unsubscribe to change notification of this context item.

Implements ContextItem.

Definition at line 58 of file contextframeworkcontext.cpp.

{
}

QVariant ContextFrameworkItem::value (  )  const [virtual]

Returns current value of the context item.

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

Implements ContextItem.

Definition at line 49 of file contextframeworkcontext.cpp.

{
    return QVariant();
}


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

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