From a0c4ae6b2e500b12b683b4df1e7c3d52516188d9 Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Sun, 18 Jul 2010 12:34:22 +0000 Subject: improve code documentation --- source/QXmppIq.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'source/QXmppIq.cpp') 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; -- cgit v1.2.3