summaryrefslogtreecommitdiffstats
path: root/src/contacts/qcontactmanager_p.cpp
diff options
context:
space:
mode:
authorCristiano di Flora <cristiano.di-flora@nokia.com>2012-01-20 16:16:15 +0200
committerQt by Nokia <qt-info@nokia.com>2012-01-21 11:50:12 +0100
commit12f01fbca27c09696a53ba2805c161272edb4fdf (patch)
tree29df53026089207a3eacab3e7b0d8fcc2d28f685 /src/contacts/qcontactmanager_p.cpp
parentba00e76ed08d1f5d4c258cd66d0959683b37f0ba (diff)
Remove simulator backend from QtContacts API.
Change-Id: I4bf4360dee2b54bc28fd7f6a9fdaf299b23af0ed Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Oliver Wolff <oliver.wolff@nokia.com> Reviewed-by: Rainer Keller <rainer.keller@nokia.com> Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Diffstat (limited to 'src/contacts/qcontactmanager_p.cpp')
-rw-r--r--src/contacts/qcontactmanager_p.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/contacts/qcontactmanager_p.cpp b/src/contacts/qcontactmanager_p.cpp
index 57e907aec..1fcfdc4ca 100644
--- a/src/contacts/qcontactmanager_p.cpp
+++ b/src/contacts/qcontactmanager_p.cpp
@@ -49,9 +49,6 @@
#include "qcontactaction.h"
#include "qcontactactiondescriptor.h"
-#ifdef QT_SIMULATOR
-#include "qcontactsimulatorbackend_p.h"
-#endif
#include <QSharedData>
#include <QtPlugin>
@@ -128,13 +125,6 @@ void QContactManagerData::createEngine(const QString& managerName, const QMap<QS
m_engine = 0;
QString builtManagerName = managerName.isEmpty() ? QContactManager::availableManagers().value(0) : managerName;
-#ifdef QT_SIMULATOR
- if (builtManagerName == QLatin1String("simulator")) {
- QContactManagerEngine* engine = QContactSimulatorEngine::createSimulatorEngine(parameters);
- m_engine = new QContactManagerEngineV2Wrapper(engine);
- m_signalSource = engine;
- }
-#endif
int implementationVersion = parameterValue(parameters, QTCONTACTS_IMPLEMENTATION_VERSION_NAME, -1);
bool found = false;