Refactor and streamline API and IPC protocol.


This patch removes the obsolete API support to send raw messages using
a QWebChannel. Instead, it is encouraged to directly use WebSockets or
navigator.qt.

By doing so, we can cleanup the code considerably. While at it, the
transport API is adapted to work on QJsonObject messages, instead of
QStrings. This will allow us to use more efficient formats in e.g.
QtWebKit or QtWebEngine. One could also implement a JSONRPC interface
using a custom transport then.

Change-Id: Ia8c125a5558507b3cbecf128a46b19fdb013f47b
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
commit94912cf26ba70a2cadd23f1c931395be64c11eac
parent77a4c34bb0f3b8cc3107f9fc6be0f5f7b23bb9d6
authorMilian Wolff <milian.wolff@kdab.com>
committerMilian Wolff <milian.wolff@kdab.com>
commit timeTue, 29 Jul 2014 13:58:04 +0200