aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppJingleIq.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/QXmppJingleIq.cpp')
-rw-r--r--src/base/QXmppJingleIq.cpp9
1 files changed, 8 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;