QXmppResultSetReply Class
The QXmppResultSetReply class represents a set element in a reply as defined by XEP-0059: Result Set Management. More...
| Header: | #include <QXmppResultSet.h> |
Public Functions
| int | count() const |
| QString | first() const |
| int | index() const |
| bool | isNull() const |
| QString | last() const |
| void | setCount(int count) |
| void | setFirst(const QString &first) |
| void | setIndex(int index) |
| void | setLast(const QString &last) |
Detailed Description
Member Function Documentation
int QXmppResultSetReply::count() const
Returns the total number of items in the set.
Note: This may be an approximate count.
See also setCount().
QString QXmppResultSetReply::first() const
Returns the UID of the first result in the page.
See also setFirst().
int QXmppResultSetReply::index() const
Returns the index for the first result in the page.
This is used for retrieving pages out of order.
Note: This may be an approximate index.
See also setIndex().
bool QXmppResultSetReply::isNull() const
Returns true if no result set information is present.
QString QXmppResultSetReply::last() const
Returns the UID of the last result in the page.
See also setLast().
void QXmppResultSetReply::setCount(int count)
Sets the total number of items in the set.
Note: This may be an approximate count.
count.
See also count().
void QXmppResultSetReply::setFirst(const QString &first)
Sets the UID of the first result in the page.
See also first().
void QXmppResultSetReply::setIndex(int index)
Sets the index for the first result in the page.
This is used for retrieving pages out of order.
Note: This may be an approximate index.
index.
See also index().
void QXmppResultSetReply::setLast(const QString &last)
Sets the UID of the last result in the page.
See also last().