QXmpp: QXmppResultSetQuery Class Reference

QXmpp Version:0.7.5

- Main Page
- Modules
- Classes
- Files

- Class List
- Class Hierarchy
- Class Members

All Classes Functions Variables Enumerations Enumerator Properties Groups
Public Member Functions | List of all members
QXmppResultSetQuery Class Reference

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.

## Detailed Description

The QXmppResultSetQuery class represents a set element in a query as defined by XEP-0059: Result Set Management.

## 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.

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.

Note
  -1 means no limit, 0 means no results are wanted.

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.

Note
  -1 means no limit, 0 means no results are wanted.

The documentation for this class was generated from the following files:

- QXmppResultSet.h
- QXmppResultSet.cpp