aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppResultSet.cpp
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2012-07-21 17:29:52 +0200
committerJeremy Lainé <jeremy.laine@m4x.org>2012-07-21 17:29:52 +0200
commit9935bb73743760a8cb3526f9c608f03c733c6191 (patch)
tree47603a567e608051aea51d5b7cdcf1bf0e87b76f /src/base/QXmppResultSet.cpp
parent984c5fc593c2d9c4bf62c104f13073b5caadfd8a (diff)
downloadqxmpp-9935bb73743760a8cb3526f9c608f03c733c6191.tar.gz
doc fixes
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;