--- a/qtcontactsmobility/tests/auto/qcontactmanagerplugins/dummyplugin/dummyplugin.cpp Fri Mar 19 09:27:18 2010 +0200
+++ b/qtcontactsmobility/tests/auto/qcontactmanagerplugins/dummyplugin/dummyplugin.cpp Fri Apr 16 14:53:18 2010 +0300
@@ -68,6 +68,7 @@
/* Contacts - Accessors and Mutators */
QList<QContactLocalId> contacts(QContactManager::Error& error) const;
QContact contact(const QContactLocalId& contactId, QContactManager::Error& error) const;
+ QContact contact(const QContactLocalId& contactId, const QStringList& definitionRestrictions, QContactManager::Error& error) const;
bool saveContact(QContact* contact, bool batch, QContactManager::Error& error);
bool removeContact(const QContactLocalId& contactId, bool batch, QContactManager::Error& error);
@@ -160,6 +161,14 @@
return QContact();
}
+QContact DummyEngine::contact(const QContactLocalId& contactId, const QStringList& definitionRestrictions, QContactManager::Error& error) const
+{
+ Q_UNUSED(contactId);
+ Q_UNUSED(definitionRestrictions);
+ error = QContactManager::DoesNotExistError;
+ return QContact();
+}
+
bool DummyEngine::saveContact(QContact* contact, bool batch, QContactManager::Error& error)
{
// ensure that the contact's details conform to their definitions