diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-07-18 12:23:22 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-07-18 12:23:22 +0000 |
| commit | 21462f9d51e567bd72f3a86cb38423249fea4dab (patch) | |
| tree | c9aad5bbeea39aaeee469875f2fe979e822c4986 /source/QXmppStanza.cpp | |
| parent | 9c08abcff13bb568aa0825b67ac0cdf66b756798 (diff) | |
| download | qxmpp-21462f9d51e567bd72f3a86cb38423249fea4dab.tar.gz | |
improve code documentation
Diffstat (limited to 'source/QXmppStanza.cpp')
| -rw-r--r-- | source/QXmppStanza.cpp | 19 |
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; |
