diff options
author | Nico Vertriest <nico.vertriest@qt.io> | 2019-05-09 13:34:33 +0200 |
---|---|---|
committer | Paul Wicking <paul.wicking@qt.io> | 2019-06-18 13:45:02 +0000 |
commit | f119c0669bc261786e9151ec4b31f6cf1fd2e28b (patch) | |
tree | a5c7ebff192c52199d875dbf32944daa9e7003df | |
parent | cbb8fc1ae374e2b25c733e3f15109fb407e0cf95 (diff) | |
download | qtwebchannel-f119c0669bc261786e9151ec4b31f6cf1fd2e28b.tar.gz |
Doc: Minor text layout edits
Change-Id: I788cca691fd3a0b4542bad9ef05ef40404a42840
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
-rw-r--r-- | examples/webchannel/standalone/doc/src/standalone.qdoc | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/examples/webchannel/standalone/doc/src/standalone.qdoc b/examples/webchannel/standalone/doc/src/standalone.qdoc index 6777492..4ff7056 100644 --- a/examples/webchannel/standalone/doc/src/standalone.qdoc +++ b/examples/webchannel/standalone/doc/src/standalone.qdoc @@ -64,18 +64,20 @@ \section1 Communicating with a Remote Client - The C++ application sets up a QWebChannel instance and publishes a \c Core object over it. - For the remote client side, \l {standalone/index.html}{index.html} is opened. Both show a - dialog with the list of received messages and an input box to send messages to the other end. + The C++ application sets up a QWebChannel instance and publishes a \c Core + object over it. For the remote client side, \l {standalone/index.html}{index.html} + is opened. Both show a dialog with the list of received messages and an input + box to send messages to the other end. - The \c Core emits the \c Core::sendText() signal when the user sends a message. The signal - automatically gets propagated to the HTML client. When the user enters a message on the HTML - side, \c Core::receiveText() is called. + The \c Core emits the \c Core::sendText() signal when the user sends + a message. The signal automatically gets propagated to the HTML client. + When the user enters a message on the HTML side, \c Core::receiveText() + is called. - All communication between the HTML client and the C++ server is done over a WebSocket. - The C++ side instantiates a QWebSocketServer and wraps incoming QWebSocket connections - in QWebChannelAbstractTransport objects. These objects are - then connected to the QWebChannel instance. + All communication between the HTML client and the C++ server is done + over a WebSocket. The C++ side instantiates a QWebSocketServer and + wraps incoming QWebSocket connections in QWebChannelAbstractTransport + objects. These objects are then connected to the QWebChannel instance. \sa {Qt WebChannel JavaScript API} */ |