aboutsummaryrefslogtreecommitdiff
path: root/src/client/QXmppClient.h
diff options
context:
space:
mode:
authorLinus Jahn <lnj@kaidan.im>2020-02-04 16:11:24 +0100
committerLinus Jahn <lnj@kaidan.im>2020-02-04 16:13:03 +0100
commita4d292ecb0a3459825e81a2b6d81df7a6d6635fb (patch)
tree0808b3b527d030c2f2cbd846f832d639d6a20c31 /src/client/QXmppClient.h
parent99c0df8616056318eb94539cfde497d3b10f3ae0 (diff)
downloadqxmpp-a4d292ecb0a3459825e81a2b6d81df7a6d6635fb.tar.gz
Fix undocumented Q_PROPERTies
Diffstat (limited to 'src/client/QXmppClient.h')
-rw-r--r--src/client/QXmppClient.h8
1 files changed, 8 insertions, 0 deletions
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();