diff options
Diffstat (limited to 'src/imports/webchannel/plugin.cpp')
-rw-r--r-- | src/imports/webchannel/plugin.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/imports/webchannel/plugin.cpp b/src/imports/webchannel/plugin.cpp index 589e3cb..6507112 100644 --- a/src/imports/webchannel/plugin.cpp +++ b/src/imports/webchannel/plugin.cpp @@ -43,11 +43,6 @@ #include <QtQml/QQmlExtensionPlugin> #include "qmlwebchannel.h" -#include "qwebsockettransport.h" -#include "qmlwebviewtransport.h" -#include "qwebchanneltransportinterface.h" - -QML_DECLARE_INTERFACE_HASMETATYPE(QWebChannelTransportInterface); QT_BEGIN_NAMESPACE @@ -62,13 +57,9 @@ public: void QWebChannelPlugin::registerTypes(const char *uri) { - qmlRegisterInterface<QWebChannelTransportInterface>("QWebChannelTransportInterface"); - int major = 1; int minor = 0; qmlRegisterType<QmlWebChannel>(uri, major, minor, "WebChannel"); - qmlRegisterType<QWebSocketTransport>(uri, major, minor, "WebSocketTransport"); - qmlRegisterType<QmlWebViewTransport>(uri, major, minor, "WebViewTransport"); } QT_END_NAMESPACE |