aboutsummaryrefslogtreecommitdiff
path: root/source/QXmppIq.cpp
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-07-18 12:34:22 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-07-18 12:34:22 +0000
commita0c4ae6b2e500b12b683b4df1e7c3d52516188d9 (patch)
tree1eceacaa41cc04b9de33c0c61d8080e689ae9a79 /source/QXmppIq.cpp
parent21462f9d51e567bd72f3a86cb38423249fea4dab (diff)
downloadqxmpp-a0c4ae6b2e500b12b683b4df1e7c3d52516188d9.tar.gz
improve code documentation
Diffstat (limited to 'source/QXmppIq.cpp')
-rw-r--r--source/QXmppIq.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/source/QXmppIq.cpp b/source/QXmppIq.cpp
index c4215d5f..f0ba8e6b 100644
--- a/source/QXmppIq.cpp
+++ b/source/QXmppIq.cpp
@@ -34,16 +34,18 @@ QXmppIq::QXmppIq(QXmppIq::Type type)
generateAndSetNextId();
}
-QXmppIq::~QXmppIq()
-{
-
-}
+/// Returns the IQ's type.
+///
QXmppIq::Type QXmppIq::type() const
{
return m_type;
}
+/// Sets the IQ's type.
+///
+/// \param type
+
void QXmppIq::setType(QXmppIq::Type type)
{
m_type = type;