summaryrefslogtreecommitdiff
path: root/src/enginio_plugin/enginioplugin.cpp
diff options
context:
space:
mode:
authorJędrzej Nowacki <jedrzej.nowacki@digia.com>2013-09-26 13:20:07 +0000
committerFrederik Gladhorn <frederik.gladhorn@digia.com>2013-09-27 09:28:11 +0200
commitadaf5e4cab883b546139adb8ebcc681fec0dda88 (patch)
tree21be774ab2ea8e9aeb3f078a6a410fb3fea0dbbf /src/enginio_plugin/enginioplugin.cpp
parentc451a370f297e8179f4d7bd4b5aa63cbe6d6db6b (diff)
downloadqtenginio-adaf5e4cab883b546139adb8ebcc681fec0dda88.tar.gz
Update QML replies tests.
Change-Id: I34c2a4a5a340e0efa8303e5f7303b2ce71f2ce1e Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Diffstat (limited to 'src/enginio_plugin/enginioplugin.cpp')
-rw-r--r--src/enginio_plugin/enginioplugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/enginio_plugin/enginioplugin.cpp b/src/enginio_plugin/enginioplugin.cpp
index a3a299d..5b6dfd9 100644
--- a/src/enginio_plugin/enginioplugin.cpp
+++ b/src/enginio_plugin/enginioplugin.cpp
@@ -92,6 +92,7 @@ void EnginioPlugin::registerTypes(const char *uri)
qmlRegisterUncreatableType<EnginioQmlReply>(uri, 1, 0, "EnginioReply", "EnginioReply cannot be instantiated.");
qmlRegisterUncreatableType<EnginioIdentity>(uri, 1, 0, "EnginioIdentity", "EnginioIdentity can not be instantiated directly");
qmlRegisterType<EnginioBasicAuthentication>(uri, 1, 0, "EnginioBasicAuthentication");
+ qmlRegisterUncreatableType<QNetworkReply>(uri, 1, 0, "QNetworkReply", "QNetworkReply is abstract and it can not be constructed");
}
QT_END_NAMESPACE