The QXmppResultSetQuery class represents a set element in a query as defined by XEP-0059: Result Set Management. More...
#include <QXmppResultSet.h>
Public Member Functions | |
| int | max () const |
| void | setMax (int max) |
| int | index () const |
| void | setIndex (int index) |
| QString | before () const |
| void | setBefore (const QString &before) |
| QString | after () const |
| void | setAfter (const QString &after) |
| bool | isNull () const |
| Returns true if no result set information is present. | |
The QXmppResultSetQuery class represents a set element in a query as defined by XEP-0059: Result Set Management.
| QString QXmppResultSetQuery::after | ( | ) | const |
Returns the UID of the last result in the previous page.
This is used for for paging forwards through results.
| QString QXmppResultSetQuery::before | ( | ) | const |
Returns the UID of the first result in the next page.
This is used for for paging backwards through results.
| int QXmppResultSetQuery::index | ( | ) | const |
Returns the index for the first element in the page.
This is used for retrieving pages out of order.
| int QXmppResultSetQuery::max | ( | ) | const |
Returns the maximum number of results.
| void QXmppResultSetQuery::setAfter | ( | const QString & | after | ) |
Sets the UID of the last result in the previous page.
This is used for for paging forwards through results.
| void QXmppResultSetQuery::setBefore | ( | const QString & | before | ) |
Sets the UID of the first result in the next page.
This is used for for paging backwards through results.
| void QXmppResultSetQuery::setIndex | ( | int | index | ) |
Sets the index for the first element in the page.
This is used for retrieving pages out of order.
| void QXmppResultSetQuery::setMax | ( | int | max | ) |
Sets the maximum number of results.
1.8.1.2