diff options
Diffstat (limited to 'Source/WebKit/qt/declarative/plugin.cpp')
-rw-r--r-- | Source/WebKit/qt/declarative/plugin.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/Source/WebKit/qt/declarative/plugin.cpp b/Source/WebKit/qt/declarative/plugin.cpp index db748952a..56eac632d 100644 --- a/Source/WebKit/qt/declarative/plugin.cpp +++ b/Source/WebKit/qt/declarative/plugin.cpp @@ -21,10 +21,6 @@ #include "qglobal.h" -#if defined(HAVE_QQUICK1) -#include "qdeclarativewebview_p.h" -#endif - #include <QtQml/qqml.h> #include <QtQml/qqmlextensionplugin.h> @@ -56,15 +52,6 @@ public: virtual void registerTypes(const char* uri) { Q_ASSERT(QLatin1String(uri) == QLatin1String("QtWebKit")); -#if defined(HAVE_QQUICK1) - qmlRegisterType<QDeclarativeWebSettings>(); - qmlRegisterType<QDeclarativeWebView>(uri, 1, 0, "WebView"); -#ifdef Q_REVISION - qmlRegisterType<QDeclarativeWebView>(uri, 1, 1, "WebView"); - qmlRegisterRevision<QDeclarativeWebView, 0>("QtWebKit", 1, 0); - qmlRegisterRevision<QDeclarativeWebView, 1>("QtWebKit", 1, 1); -#endif -#endif #if defined(HAVE_WEBKIT2) qmlRegisterType<QQuickWebView>(uri, 3, 0, "WebView"); |