aboutsummaryrefslogtreecommitdiff
path: root/source/QXmppStanza.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/QXmppStanza.cpp')
-rw-r--r--source/QXmppStanza.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/source/QXmppStanza.cpp b/source/QXmppStanza.cpp
index 22f6a2e9..a311d82f 100644
--- a/source/QXmppStanza.cpp
+++ b/source/QXmppStanza.cpp
@@ -304,31 +304,50 @@ QXmppStanza::~QXmppStanza()
{
}
+/// Returns the stanza's recipient JID.
+///
+
QString QXmppStanza::to() const
{
return m_to;
}
+/// Sets the stanza's recipient JID.
+///
+/// \param to
+
void QXmppStanza::setTo(const QString& to)
{
m_to = to;
}
+/// Returns the stanza's sender JID.
+
QString QXmppStanza::from() const
{
return m_from;
}
+/// Sets the stanza's sender JID.
+///
+/// \param from
+
void QXmppStanza::setFrom(const QString& from)
{
m_from = from;
}
+/// Returns the stanza's identifier.
+
QString QXmppStanza::id() const
{
return m_id;
}
+/// Sets the stanza's identifier.
+///
+/// \param id
+
void QXmppStanza::setId(const QString& id)
{
m_id = id;