aboutsummaryrefslogtreecommitdiff
path: root/source/QXmppIq.cpp
diff options
context:
space:
mode:
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;