aboutsummaryrefslogtreecommitdiff
path: root/src/client/QXmppMucManager.cpp
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/QXmppMucManager.cpp
parent99c0df8616056318eb94539cfde497d3b10f3ae0 (diff)
downloadqxmpp-a4d292ecb0a3459825e81a2b6d81df7a6d6635fb.tar.gz
Fix undocumented Q_PROPERTies
Diffstat (limited to 'src/client/QXmppMucManager.cpp')
-rw-r--r--src/client/QXmppMucManager.cpp22
1 files changed, 0 insertions, 22 deletions
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<QXmppMucRoom *> 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;