Qt Mobility Reference Documentation

QContactSimulatorEngine Class Reference

This class provides a simulator-managed in-memory backend. More...

 #include <QContactSimulatorEngine>

Inherits QContactMemoryEngine.


Public Functions

void setNotifySimulator ( bool on )

Static Public Members

QContactSimulatorEngine * createSimulatorEngine ( const QMap<QString, QString> & parameters )

Protected Functions

QContactSimulatorEngine ( QContactMemoryEngineData * data )

Reimplemented Protected Functions

virtual bool removeContact ( const QContactLocalId & contactId, QContactChangeSet & changeSet, QContactManager::Error * error )
virtual bool removeRelationship ( const QContactRelationship & relationship, QContactChangeSet & changeSet, QContactManager::Error * error )
virtual bool saveContact ( QContact * theContact, QContactChangeSet & changeSet, QContactManager::Error * error )
virtual bool saveRelationship ( QContactRelationship * relationship, QContactChangeSet & changeSet, QContactManager::Error * error )

Additional Inherited Members


Detailed Description

This class provides a simulator-managed in-memory backend.


Member Function Documentation

QContactSimulatorEngine::QContactSimulatorEngine ( QContactMemoryEngineData * data ) [protected]

QContactSimulatorEngine * QContactSimulatorEngine::createSimulatorEngine ( const QMap<QString, QString> & parameters ) [static]

Factory function for 'creating' a simulator backend.

Always returns the same backend. Creates it if it doesn't yet exist.

bool QContactSimulatorEngine::removeContact ( const QContactLocalId & contactId, QContactChangeSet & changeSet, QContactManager::Error * error ) [virtual protected]

bool QContactSimulatorEngine::removeRelationship ( const QContactRelationship & relationship, QContactChangeSet & changeSet, QContactManager::Error * error ) [virtual protected]

bool QContactSimulatorEngine::saveContact ( QContact * theContact, QContactChangeSet & changeSet, QContactManager::Error * error ) [virtual protected]

bool QContactSimulatorEngine::saveRelationship ( QContactRelationship * relationship, QContactChangeSet & changeSet, QContactManager::Error * error ) [virtual protected]

void QContactSimulatorEngine::setNotifySimulator ( bool on )

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.