The QXmppRosterIq::Item class represents a roster entry.
More...
#include <QXmppRosterIq.h>
The QXmppRosterIq::Item class represents a roster entry.
QString QXmppRosterIq::Item::bareJid |
( |
| ) |
const |
Returns the bareJid of the roster entry.
- Returns
- bareJid as a QString
QSet< QString > QXmppRosterIq::Item::groups |
( |
| ) |
const |
Returns the groups of the roster entry.
- Returns
- QSet<QString> list of all the groups
QString QXmppRosterIq::Item::name |
( |
| ) |
const |
Returns the name of the roster entry.
- Returns
- name as a QString
void QXmppRosterIq::Item::setBareJid |
( |
const QString & |
bareJid | ) |
|
Sets the bareJid of the roster entry.
- Parameters
-
void QXmppRosterIq::Item::setGroups |
( |
const QSet< QString > & |
groups | ) |
|
Sets the groups of the roster entry.
- Parameters
-
groups | list of all the groups as a QSet<QString> |
void QXmppRosterIq::Item::setName |
( |
const QString & |
name | ) |
|
Sets the name of the roster entry.
- Parameters
-
void QXmppRosterIq::Item::setSubscriptionStatus |
( |
const QString & |
status | ) |
|
Sets the subscription status of the roster entry. It is the "ask" attribute in the Roster IQ stanza. Its value can be "subscribe" or "unsubscribe" or empty.
- Parameters
-
Sets the subscription type of the roster entry.
- Parameters
-
QString QXmppRosterIq::Item::subscriptionStatus |
( |
| ) |
const |
Returns the subscription status of the roster entry. It is the "ask" attribute in the Roster IQ stanza. Its value can be "subscribe" or "unsubscribe" or empty.
- Returns
- subscription status as a QString
Returns the subscription type of the roster entry.
The documentation for this class was generated from the following files: