Simplify QML WebChannel API.
authorMilian Wolff <milian.wolff@kdab.com>
Fri, 15 Feb 2013 18:16:49 +0000 (19:16 +0100)
committerMilian Wolff <milian.wolff@kdab.com>
Fri, 15 Feb 2013 18:16:49 +0000 (19:16 +0100)
commit3c9c50f838645527f29218904723f726d6bf6f61
treed695d6c421dffd4ec2bc3439fff61630cd63d2f3
parentb5673d4db14181525619343569449e1d09d69f90
Simplify QML WebChannel API.

- Rename slot to sendRawMessage and signal to rawMessageReceived
- Add a QML helper that has a respond and sendMessage method that
  transforms the input to the expected JSON format.
examples/hybridshell/qml/hybridshell/main.qml
examples/qmlapp/qmlapp.qml
examples/qtobject/qml/qtobject/main.qml
src/MetaObjectPublisher.qml
src/WebChannel.qml [new file with mode: 0644]
src/qmldir
src/qwebchannel.cpp
src/qwebchannel.h
src/qwebchannel_plugin.cpp
src/src.pro