aboutsummaryrefslogtreecommitdiff
path: root/src/base
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2015-08-31 17:53:42 +0200
committerJeremy Lainé <jeremy.laine@m4x.org>2015-08-31 17:53:42 +0200
commit4392a229eb8a53b5903b0df8779ed8f1a6ee0f06 (patch)
tree70f5880f27913c3e4e7d152fb7e5afe3582f3ed2 /src/base
parent9c4435ed1705ae3a3653b2c913f096f5ae0c568c (diff)
downloadqxmpp-4392a229eb8a53b5903b0df8779ed8f1a6ee0f06.tar.gz
add some code docs
Diffstat (limited to 'src/base')
-rw-r--r--src/base/QXmppJingleIq.cpp9
-rw-r--r--src/base/QXmppJingleIq.h1
2 files changed, 9 insertions, 1 deletions
diff --git a/src/base/QXmppJingleIq.cpp b/src/base/QXmppJingleIq.cpp
index 89750a42..94207a38 100644
--- a/src/base/QXmppJingleIq.cpp
+++ b/src/base/QXmppJingleIq.cpp
@@ -619,7 +619,6 @@ QString QXmppJingleIq::Content::toSdp() const
return sdp.join("\r\n") + "\r\n";
}
-
/// \endcond
QXmppJingleIq::Reason::Reason()
@@ -627,21 +626,29 @@ QXmppJingleIq::Reason::Reason()
{
}
+/// Returns the reason's textual description.
+
QString QXmppJingleIq::Reason::text() const
{
return m_text;
}
+/// Sets the reason's textual description.
+
void QXmppJingleIq::Reason::setText(const QString &text)
{
m_text = text;
}
+/// Gets the reason's type.
+
QXmppJingleIq::Reason::Type QXmppJingleIq::Reason::type() const
{
return m_type;
}
+/// Sets the reason's type.
+
void QXmppJingleIq::Reason::setType(QXmppJingleIq::Reason::Type type)
{
m_type = type;
diff --git a/src/base/QXmppJingleIq.h b/src/base/QXmppJingleIq.h
index 4c14a8a9..e997bef4 100644
--- a/src/base/QXmppJingleIq.h
+++ b/src/base/QXmppJingleIq.h
@@ -249,6 +249,7 @@ public:
class QXMPP_EXPORT Reason
{
public:
+ /// This enum is used to describe a reason's type.
enum Type {
None,
AlternativeSession,