Home · All Namespaces · All Classes
Signals | Public Member Functions

ContextItem Class Reference

#include <applicationcontext.h>

Inheritance diagram for ContextItem:
Inheritance graph
[legend]

List of all members.

Signals

void contentsChanged ()

Public Member Functions

virtual QVariant value () const =0
virtual void subscribe () const =0
virtual void unsubscribe () const =0

Detailed Description

Abstract interface that describes one item of the application context. Concrete implementations of this interface can connect to various backends to retrieve the state of the item such as context framework.


Member Function Documentation

void ContextItem::contentsChanged (  )  [signal]

Signal to indicate that the value of the context item has changed.

virtual void ContextItem::subscribe (  )  const [pure virtual]

Subscribe to change notification of this context item.

Implemented in ContextFrameworkItem.

virtual void ContextItem::unsubscribe (  )  const [pure virtual]

Unsubscribe to change notification of this context item.

Implemented in ContextFrameworkItem.

virtual QVariant ContextItem::value (  )  const [pure virtual]

Returns current value of the context item.

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

Implemented in ContextFrameworkItem.


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

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