Fix topci -> topic typo

fix-typos
Michael Zanetti 2022-04-14 00:29:21 +02:00
parent b856c584f8
commit 881bf26a47
2 changed files with 3 additions and 3 deletions

View File

@ -78,7 +78,7 @@ public:
public slots:
quint16 subscribe(const MqttSubscription &subscription);
quint16 subscribe(const QString &topciFilter, Mqtt::QoS qos = Mqtt::QoS0);
quint16 subscribe(const QString &topicFilter, Mqtt::QoS qos = Mqtt::QoS0);
quint16 subscribe(const MqttSubscriptions &subscriptions);
quint16 unsubscribe(const MqttSubscription &subscription);

View File

@ -68,7 +68,7 @@ public:
QStringList clients() const;
void disconnectClient(const QString &clientId);
// allows publishing from the server, including topcis starting with $
// allows publishing from the server, including topics starting with $
QHash<QString, quint16> publish(const QString &topic, const QByteArray &payload = QByteArray());
signals:
@ -78,7 +78,7 @@ signals:
void clientDisconnected(const QString &clientId);
// emitted whenever a client has been seen, that is, a control message or a keep alive message has been received.
void clientAlive(const QString &clientId);
// emitted whenever a client subscribes, a client can also subscribe to topics starting with $ but those won't be relayed from other clients. Only internal server publishes to $ topcis will be sent to subscribed clients.
// emitted whenever a client subscribes, a client can also subscribe to topics starting with $ but those won't be relayed from other clients. Only internal server publishes to $ topics will be sent to subscribed clients.
void clientSubscribed(const QString &clientId, const QString &topicFilter, Mqtt::QoS requestedQoS);
// emitted whenever a client unsubscribes from a topic
void clientUnsubscribed(const QString &clientId, const QString &topicFiltr);