diff options
author | Maurice Kalinowski <maurice.kalinowski@qt.io> | 2017-08-30 09:22:45 +0200 |
---|---|---|
committer | Maurice Kalinowski <maurice.kalinowski@qt.io> | 2017-09-01 06:57:37 +0000 |
commit | efbe33940bb9d15be827248da0e2679315b388ab (patch) | |
tree | 9d7bfe01bd9deb5be8b369b7988419f22a117c88 /src/mqtt/qmqttclient.cpp | |
parent | e3ea7f3b1ad8bd53a1df77ee9b8005c33148ddfc (diff) |
Doc fixes
Change-Id: I5000baabdc176ea1fe5c597258c143d27e2a1247
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/mqtt/qmqttclient.cpp')
-rw-r--r-- | src/mqtt/qmqttclient.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mqtt/qmqttclient.cpp b/src/mqtt/qmqttclient.cpp index fd8c725..b9856dc 100644 --- a/src/mqtt/qmqttclient.cpp +++ b/src/mqtt/qmqttclient.cpp @@ -245,9 +245,9 @@ QIODevice *QMqttClient::transport() const } /*! - Adds a new subscription to receive notifications on \a topic. \a qos specifies the level - of security messages are received. For more information on various QoS levels, please refer - to \l {Quality of Service}. + Adds a new subscription to receive notifications on \a topic. The parameter \a qos specifies + on which level of security messages are received. For more information on various QoS levels, + please refer to \l {Quality of Service}. This functions returns a \l QSharedPointer to a \l QMqttSubscription. If a subscription to the same topic is made twice, the return value is pointing to the same subscription instance. @@ -296,11 +296,11 @@ qint32 QMqttClient::publish(const QString &topic, const QByteArray &message, qui /*! Sends a ping message to the broker and expects a pong to be send back by the broker. If the connection is active, \l QMqttClient will automatically send a ping message every - \l QMqttClient::keepAlive miliseconds. + \l QMqttClient::keepAlive milliseconds. To check whether the ping is successful, connect to the \l pingResponse signal. - Returns \c true if the ping request could be send. + Returns \c true if the ping request could be sent. */ bool QMqttClient::requestPing() { |