QXmpp  Version:0.9.3
Public Member Functions
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>

List of all members.

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.

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:
 All Classes Functions Enumerations Enumerator Properties