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/QXmppMucManager.cpp | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'src/client/QXmppMucManager.cpp') diff --git a/src/client/QXmppMucManager.cpp b/src/client/QXmppMucManager.cpp index d8645b59..32818e50 100644 --- a/src/client/QXmppMucManager.cpp +++ b/src/client/QXmppMucManager.cpp @@ -89,8 +89,6 @@ QXmppMucRoom *QXmppMucManager::addRoom(const QString &roomJid) return room; } -/// Returns the list of managed rooms. - QList QXmppMucManager::rooms() const { return d->rooms.values(); @@ -210,8 +208,6 @@ QXmppMucRoom::~QXmppMucRoom() delete d; } -/// Returns the actions you are allowed to perform on the room. - QXmppMucRoom::Actions QXmppMucRoom::allowedActions() const { return d->allowedActions; @@ -243,15 +239,11 @@ bool QXmppMucRoom::ban(const QString &jid, const QString &reason) return d->client->sendPacket(iq); } -/// Returns true if you are currently in the room. - bool QXmppMucRoom::isJoined() const { return d->participants.contains(d->ownJid()); } -/// Returns the chat room's bare JID. - QString QXmppMucRoom::jid() const { return d->jid; @@ -311,17 +303,11 @@ bool QXmppMucRoom::leave(const QString &message) return d->client->sendPacket(packet); } -/// Returns the chat room's human-readable name. -/// -/// This name will only be available after the room has been joined. - QString QXmppMucRoom::name() const { return d->name; } -/// Returns your own nickname. - QString QXmppMucRoom::nickName() const { return d->nickName; @@ -407,17 +393,11 @@ QXmppPresence QXmppMucRoom::participantPresence(const QString &jid) const return presence; } -/// Returns the list of participant JIDs. -/// -/// These JIDs are Occupant JIDs of the form "room@service/nick". - QStringList QXmppMucRoom::participants() const { return d->participants.keys(); } -/// Returns the chat room password. - QString QXmppMucRoom::password() const { return d->password; @@ -432,8 +412,6 @@ void QXmppMucRoom::setPassword(const QString &password) d->password = password; } -/// Returns the room's subject. - QString QXmppMucRoom::subject() const { return d->subject; -- cgit v1.2.3