From a4d292ecb0a3459825e81a2b6d81df7a6d6635fb Mon Sep 17 00:00:00 2001 From: Linus Jahn Date: Tue, 4 Feb 2020 16:11:24 +0100 Subject: Fix undocumented Q_PROPERTies --- src/client/QXmppClient.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/client/QXmppClient.h') diff --git a/src/client/QXmppClient.h b/src/client/QXmppClient.h index c4f07080..4225ad09 100644 --- a/src/client/QXmppClient.h +++ b/src/client/QXmppClient.h @@ -94,7 +94,10 @@ class QXmppVersionManager; class QXMPP_EXPORT QXmppClient : public QXmppLoggable { Q_OBJECT + + /// The QXmppLogger associated with the current QXmppClient Q_PROPERTY(QXmppLogger *logger READ logger WRITE setLogger NOTIFY loggerChanged) + /// The client's current state Q_PROPERTY(State state READ state NOTIFY stateChanged) public: @@ -184,12 +187,17 @@ public: void setClientPresence(const QXmppPresence &presence); QXmppConfiguration &configuration(); + + // documentation needs to be here, see https://stackoverflow.com/questions/49192523/ + /// Returns the QXmppLogger associated with the current QXmppClient. QXmppLogger *logger() const; void setLogger(QXmppLogger *logger); QAbstractSocket::SocketError socketError(); QString socketErrorString() const; + // documentation needs to be here, see https://stackoverflow.com/questions/49192523/ + /// Returns the client's current state. State state() const; QXmppStanza::Error::Condition xmppStreamError(); -- cgit v1.2.3