Refactor JavaScript QWebChannel to take an external transport object.


This assimilates the JavaScript side to the QML/C++ side. We get rid
of the automagic WebSocket code. Instead, users pass in the WebSocket
from the outside, if they want to use that for communication. In the
QtWebKit/QtWebEngine cases, we will pass in our custom IPC objects.

Change-Id: I15e15b5130f99dc8b39dfbfa8cd3d8b2d34dbbc0
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
Reviewed-by: Lutz Schönemann <lutz.schoenemann@basyskom.com>
commit5051411b92b4aca4ed5ec462e7b0e52af4d3951e
parent94912cf26ba70a2cadd23f1c931395be64c11eac
authorMilian Wolff <milian.wolff@kdab.com>
committerMilian Wolff <milian.wolff@kdab.com>
commit timeWed, 30 Jul 2014 01:31:54 +0200