QtMobility Reference Documentation

Contents

QContactObserver Class Reference

The QContactObserver class is a simple class that emits a signal when a single particular contact is updated or deleted. More...

 #include <QContactObserver>

Inherits QObject.

Public Functions

QContactObserver ( QContactManager * manager, QContactLocalId localId, QObject * parent = 0 )
~QContactObserver ()
QContactLocalId contactLocalId () const

Signals

void contactChanged ()
void contactRemoved ()

Additional Inherited Members

Detailed Description

The QContactObserver class is a simple class that emits a signal when a single particular contact is updated or deleted.

Member Function Documentation

QContactObserver::QContactObserver ( QContactManager * manager, QContactLocalId localId, QObject * parent = 0 )

Constructs a QContactObserver to observe the contact in manager with the given localId and parent object.

QContactObserver::~QContactObserver ()

Destroys this observer.

void QContactObserver::contactChanged () [signal]

This signal is emitted when the observed contact is changed in the manager.

QContactLocalId QContactObserver::contactLocalId () const

Returns the local id of the contact that this object observes.

void QContactObserver::contactRemoved () [signal]

This signal is emitted when the observed contact is removed from the manager.