aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppResultSet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/QXmppResultSet.cpp')
-rw-r--r--src/base/QXmppResultSet.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/base/QXmppResultSet.cpp b/src/base/QXmppResultSet.cpp
index 2f401803..25b1e9b6 100644
--- a/src/base/QXmppResultSet.cpp
+++ b/src/base/QXmppResultSet.cpp
@@ -55,11 +55,19 @@ void QXmppResultSetQuery::setMax(int max)
m_max = max;
}
+/// Returns the index for the first element in the page.
+///
+/// This is used for retrieving pages out of order.
+
int QXmppResultSetQuery::index() const
{
return m_index;
}
+/// Sets the index for the first element in the page.
+///
+/// This is used for retrieving pages out of order.
+
void QXmppResultSetQuery::setIndex(int index)
{
m_index=index;