QXmppMucBookmark Class

Bookmark data for a MUC room stored via XEP-0402: PEP Native Bookmarks. More...

Header: #include <QXmppPepBookmarkManager.h>
Since: QXmpp 1.13

Public Functions

QXmppMucBookmark()
QXmppMucBookmark(const QString &jid, const QString &name, bool autojoin, const QString &nick, const QString &password)
bool autojoin() const
const QString &jid() const
const QString &name() const
const QString &nick() const
const QString &password() const
void setAutojoin(bool autojoin)
void setJid(const QString &jid)
void setName(const QString &name)
void setNick(const QString &nick)
void setPassword(const QString &password)

Detailed Description

A bookmark records the JID of a room together with the user's preferred nickname, an optional password, a human-readable display name, and an autojoin flag. Bookmarks are managed through QXmppPepBookmarkManager::setBookmark() and QXmppPepBookmarkManager::removeBookmark().

Member Function Documentation

QXmppMucBookmark::QXmppMucBookmark()

Constructs an empty bookmark.

QXmppMucBookmark::QXmppMucBookmark(const QString &jid, const QString &name, bool autojoin, const QString &nick, const QString &password)

Constructs with jid, name, autojoin flag, nick, and password.

bool QXmppMucBookmark::autojoin() const

Returns whether to automatically join this MUC on connection.

See also setAutojoin().

const QString &QXmppMucBookmark::jid() const

Returns the (bare) JID of the MUC.

See also setJid().

const QString &QXmppMucBookmark::name() const

Returns the user-defined display name of the MUC.

See also setName().

const QString &QXmppMucBookmark::nick() const

Returns the user's preferred nick for this MUC.

See also setNick().

const QString &QXmppMucBookmark::password() const

Returns the required password for the MUC.

See also setPassword().

void QXmppMucBookmark::setAutojoin(bool autojoin)

Sets whether to automatically join this MUC on connection to autojoin.

See also autojoin().

void QXmppMucBookmark::setJid(const QString &jid)

Sets the (bare) jid of the MUC.

See also jid().

void QXmppMucBookmark::setName(const QString &name)

Sets the user-defined display name of the MUC.

See also name().

void QXmppMucBookmark::setNick(const QString &nick)

Sets the user's preferred nick for this MUC.

See also nick().

void QXmppMucBookmark::setPassword(const QString &password)

Sets the required password for the MUC.

See also password().