QContactObserver Class
The QContactObserver class is a simple class that emits a signal when a single particular contact is updated or deleted. More...
| Header: | #include <QContactObserver> |
| Inherits: |
Public Functions
| QContactObserver(QContactManager * manager, QContactId contactId, QObject * parent = 0) | |
| ~QContactObserver() | |
| QContactId | contactId() const |
Signals
| void | contactChanged() |
| void | contactRemoved() |
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, QContactId contactId, QObject * parent = 0)
Constructs a QContactObserver to observe the contact in manager with the given contactId and parent object.
QContactObserver::~QContactObserver()
Destroys this observer.
[signal] void QContactObserver::contactChanged()
This signal is emitted when the observed contact is changed in the manager.
QContactId QContactObserver::contactId() const
Returns the contact id of the contact that this object observes.
[signal] void QContactObserver::contactRemoved()
This signal is emitted when the observed contact is removed from the manager.