QtMobility Reference Documentation

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
  • 29 public functions inherited from QObject

Signals

void contactChanged ()
void contactRemoved ()

Additional Inherited Members

  • 1 property inherited from QObject
  • 1 public slot inherited from QObject
  • 1 public variable inherited from QObject
  • 4 static public members inherited from QObject
  • 7 protected functions inherited from QObject
  • 2 protected variables inherited from QObject

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.

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.