diff --git a/src/lib/webengine/javascript/externaljsobject.cpp b/src/lib/webengine/javascript/externaljsobject.cpp index 35d1e7d93..08efead83 100644 --- a/src/lib/webengine/javascript/externaljsobject.cpp +++ b/src/lib/webengine/javascript/externaljsobject.cpp @@ -20,7 +20,6 @@ #include "pluginproxy.h" #include "speeddial.h" #include "webpage.h" -#include "searchenginesmanager.h" #include "autofilljsobject.h" #include "restoremanager.h" @@ -62,17 +61,6 @@ void ExternalJsObject::unregisterExtraObject(const QString &id) s_extraObjects.remove(id); } -void ExternalJsObject::AddSearchProvider(const QString &engineUrl) -{ - mApp->searchEnginesManager()->addEngine(QUrl(engineUrl)); -} - -int ExternalJsObject::IsSearchProviderInstalled(const QString &engineURL) -{ - qDebug() << "NOT IMPLEMENTED: IsSearchProviderInstalled()" << engineURL; - return 0; -} - QObject *ExternalJsObject::speedDial() const { if (m_page->url().toString() != QL1S("falkon:speeddial")) diff --git a/src/lib/webengine/javascript/externaljsobject.h b/src/lib/webengine/javascript/externaljsobject.h index 48e69755c..e5aa5d4c4 100644 --- a/src/lib/webengine/javascript/externaljsobject.h +++ b/src/lib/webengine/javascript/externaljsobject.h @@ -44,10 +44,6 @@ public: static void registerExtraObject(const QString &id, QObject *object); static void unregisterExtraObject(const QString &id); -public slots: - void AddSearchProvider(const QString &engineUrl); - int IsSearchProviderInstalled(const QString &engineURL); - private: QObject *speedDial() const; QObject *autoFill() const;