aboutsummaryrefslogtreecommitdiff
path: root/src/QXmppArchiveIq.cpp
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-08-23 09:08:25 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-08-23 09:08:25 +0000
commit2f255d6f898fba9a0f550982c61dfa045ca8f40c (patch)
tree3e6523a6c71375bc39088d8b976ae72d46aeb2d0 /src/QXmppArchiveIq.cpp
parent74859748cb4fe293fb2a41aef796e65622d9103b (diff)
downloadqxmpp-2f255d6f898fba9a0f550982c61dfa045ca8f40c.tar.gz
improve archive IQ code documentation
Diffstat (limited to 'src/QXmppArchiveIq.cpp')
-rw-r--r--src/QXmppArchiveIq.cpp49
1 files changed, 49 insertions, 0 deletions
diff --git a/src/QXmppArchiveIq.cpp b/src/QXmppArchiveIq.cpp
index d2bd238e..8aaf8410 100644
--- a/src/QXmppArchiveIq.cpp
+++ b/src/QXmppArchiveIq.cpp
@@ -139,41 +139,69 @@ QList<QXmppArchiveChat> QXmppArchiveListIq::chats() const
return m_chats;
}
+/// Returns the maximum number of results.
+///
+
int QXmppArchiveListIq::max() const
{
return m_max;
}
+/// Sets the maximum number of results.
+///
+/// \param max
+
void QXmppArchiveListIq::setMax(int max)
{
m_max = max;
}
+/// Returns the JID which archived conversations must match.
+///
+
QString QXmppArchiveListIq::with() const
{
return m_with;
}
+/// Sets the JID which archived conversations must match.
+///
+/// \param with
+
void QXmppArchiveListIq::setWith(const QString &with)
{
m_with = with;
}
+/// Returns the start date/time for the archived conversations.
+///
+
QDateTime QXmppArchiveListIq::start() const
{
return m_start;
}
+/// Sets the start date/time for the archived conversations.
+///
+/// \param start
+
void QXmppArchiveListIq::setStart(const QDateTime &start)
{
m_start = start;
}
+/// Returns the end date/time for the archived conversations.
+///
+
QDateTime QXmppArchiveListIq::end() const
{
return m_end;
}
+/// Sets the end date/time for the archived conversations.
+///
+/// \param end
+
void QXmppArchiveListIq::setEnd(const QDateTime &end)
{
m_end = end;
@@ -255,31 +283,52 @@ QXmppArchiveRetrieveIq::QXmppArchiveRetrieveIq()
{
}
+/// Returns the maximum number of results.
+///
+
int QXmppArchiveRetrieveIq::max() const
{
return m_max;
}
+/// Sets the maximum number of results.
+///
+/// \param max
+
void QXmppArchiveRetrieveIq::setMax(int max)
{
m_max = max;
}
+/// Returns the start date/time for the archived conversations.
+///
+
QDateTime QXmppArchiveRetrieveIq::start() const
{
return m_start;
}
+/// Sets the start date/time for the archived conversations.
+///
+/// \param start
+
void QXmppArchiveRetrieveIq::setStart(const QDateTime &start)
{
m_start = start;
}
+/// Returns the JID which archived conversations must match.
+///
+
QString QXmppArchiveRetrieveIq::with() const
{
return m_with;
}
+/// Sets the JID which archived conversations must match.
+///
+/// \param with
+
void QXmppArchiveRetrieveIq::setWith(const QString &with)
{
m_with = with;