QXmppResultSetQuery Class
The QXmppResultSetQuery class represents a set element in a query as defined by XEP-0059: Result Set Management. More...
| Header: | #include <QXmppResultSet.h> |
Public Functions
| QString | after() const |
| QString | before() const |
| int | index() const |
| bool | isNull() const |
| int | max() const |
| void | setAfter(const QString &after) |
| void | setBefore(const QString &before) |
| void | setIndex(int index) |
| void | setMax(int max) |
Detailed Description
Member Function Documentation
QString QXmppResultSetQuery::after() const
Returns the UID of the last result in the previous page.
This is used for for paging forwards through results.
See also setAfter().
QString QXmppResultSetQuery::before() const
Returns the UID of the first result in the next page.
This is used for for paging backwards through results.
See also setBefore().
int QXmppResultSetQuery::index() const
Returns the index for the first element in the page.
This is used for retrieving pages out of order.
See also setIndex().
bool QXmppResultSetQuery::isNull() const
Returns true if no result set information is present.
int QXmppResultSetQuery::max() const
Returns the maximum number of results.
Note: -1 means no limit, 0 means no results are wanted.
See also setMax().
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.
after.
See also after().
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.
before.
See also before().
void QXmppResultSetQuery::setIndex(int index)
Sets the index for the first element in the page.
This is used for retrieving pages out of order.
index.
See also index().
void QXmppResultSetQuery::setMax(int max)
Sets the maximum number of results.
Note: -1 means no limit, 0 means no results are wanted.
max.
See also max().