5#ifndef QXMPPBOOKMARKSET_H
6#define QXMPPBOOKMARKSET_H
8#include "QXmppStanza.h"
66 QList<QXmppBookmarkUrl>
urls()
const;
70 static bool isBookmarkSet(
const QDomElement &element);
71 void parse(
const QDomElement &element);
72 void toXml(QXmlStreamWriter *writer)
const;
76 QList<QXmppBookmarkConference> m_conferences;
77 QList<QXmppBookmarkUrl> m_urls;
QXmppBookmarkConference()
Constructs a new conference room bookmark.
Definition QXmppBookmarkSet.cpp:17
QString nickName() const
Returns the preferred nickname for the conference room.
Definition QXmppBookmarkSet.cpp:61
QString jid() const
Returns the JID of the conference room.
Definition QXmppBookmarkSet.cpp:37
QString name() const
Returns the friendly name for the bookmark.
Definition QXmppBookmarkSet.cpp:49
void setJid(const QString &jid)
Sets the JID of the conference room.
Definition QXmppBookmarkSet.cpp:43
void setNickName(const QString &nickName)
Sets the preferred nickname for the conference room.
Definition QXmppBookmarkSet.cpp:67
void setAutoJoin(bool autoJoin)
Definition QXmppBookmarkSet.cpp:31
void setName(const QString &name)
Sets the friendly name for the bookmark.
Definition QXmppBookmarkSet.cpp:55
bool autoJoin() const
Definition QXmppBookmarkSet.cpp:24
The QXmppbookmarkSets class represents a set of bookmarks, as defined by XEP-0048: Bookmarks.
Definition QXmppBookmarkSet.h:61
QList< QXmppBookmarkConference > conferences() const
Returns the conference rooms bookmarks in this bookmark set.
Definition QXmppBookmarkSet.cpp:97
void setUrls(const QList< QXmppBookmarkUrl > &urls)
Sets the web page bookmarks in this bookmark set.
Definition QXmppBookmarkSet.cpp:115
void setConferences(const QList< QXmppBookmarkConference > &conferences)
Sets the conference rooms bookmarks in this bookmark set.
Definition QXmppBookmarkSet.cpp:103
QList< QXmppBookmarkUrl > urls() const
Returns the web page bookmarks in this bookmark set.
Definition QXmppBookmarkSet.cpp:109
The QXmppBookmarkUrl class represents a bookmark for a web page, as defined by XEP-0048: Bookmarks.
Definition QXmppBookmarkSet.h:44
void setUrl(const QUrl &url)
Sets the URL for the web page.
Definition QXmppBookmarkSet.cpp:91
QString name() const
Returns the friendly name for the bookmark.
Definition QXmppBookmarkSet.cpp:73
QUrl url() const
Returns the URL for the web page.
Definition QXmppBookmarkSet.cpp:85
void setName(const QString &name)
Sets the friendly name for the bookmark.
Definition QXmppBookmarkSet.cpp:79