QXmpp  Version:0.6.2
 All Classes Functions Variables Enumerations Enumerator Properties Groups
Public Member Functions | List of all members
QXmppResultSetReply Class Reference

The QXmppResultSetReply class represents a set element in a reply as defined by XEP-0059: Result Set Management. More...

#include <QXmppResultSet.h>

Public Member Functions

QString first () const
 Returns the UID of the first result in the set.
void setFirst (const QString &first)
 Sets the UID of the first result in the set.
QString last () const
 Returns the UID of the last result in the set.
void setLast (const QString &last)
 Sets the UID of the last result in the set.
int count () const
void setCount (int count)
int index () const
void setIndex (int index)
bool isNull () const
 Returns true if no result set information is present.

Detailed Description

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

Member Function Documentation

int QXmppResultSetReply::count ( ) const

Returns the number of items in the set.

Note
This may be an approximate count.
int QXmppResultSetReply::index ( ) const

Returns the index for the first result in the set.

This is used for retrieving pages out of order.

void QXmppResultSetReply::setCount ( int  count)

Sets the number of items in the set.

Note
This may be an approximate count.
void QXmppResultSetReply::setIndex ( int  index)

Sets the index for the first result in the set.

This is used for retrieving pages out of order.


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