diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2012-07-21 18:34:27 +0200 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2012-07-21 18:34:27 +0200 |
| commit | 175fb8b883af4edfcfb4ff3dd2c1fb29dfdf3ceb (patch) | |
| tree | bcb07029ee5318c3413dd9a5b02710591ae90d63 /src/base/QXmppMessage.cpp | |
| parent | 255c1aabcd8d4e881f06ac55eadfc20274936df0 (diff) | |
doc fixes
Diffstat (limited to 'src/base/QXmppMessage.cpp')
| -rw-r--r-- | src/base/QXmppMessage.cpp | 100 |
1 files changed, 51 insertions, 49 deletions
diff --git a/src/base/QXmppMessage.cpp b/src/base/QXmppMessage.cpp index ab9a9cb6..d48e8948 100644 --- a/src/base/QXmppMessage.cpp +++ b/src/base/QXmppMessage.cpp @@ -248,6 +248,56 @@ void QXmppMessage::setState(QXmppMessage::State state) m_state = state; } +/// Returns the message's subject. +/// + +QString QXmppMessage::subject() const +{ + return m_subject; +} + +/// Sets the message's subject. +/// +/// \param subject + +void QXmppMessage::setSubject(const QString& subject) +{ + m_subject = subject; +} + +/// Returns the message's thread. + +QString QXmppMessage::thread() const +{ + return m_thread; +} + +/// Sets the message's thread. +/// +/// \param thread + +void QXmppMessage::setThread(const QString& thread) +{ + m_thread = thread; +} + +/// Returns the message's XHTML body as defined by +/// XEP-0071: XHTML-IM. + +QString QXmppMessage::xhtml() const +{ + return m_xhtml; +} + +/// Sets the message's XHTML body as defined by +/// XEP-0071: XHTML-IM. + +void QXmppMessage::setXhtml(const QString &xhtml) +{ + m_xhtml = xhtml; +} + +/// \cond void QXmppMessage::parse(const QDomElement &element) { QXmppStanza::parse(element); @@ -411,52 +461,4 @@ void QXmppMessage::toXml(QXmlStreamWriter *xmlWriter) const extension.toXml(xmlWriter); xmlWriter->writeEndElement(); } - -/// Returns the message's subject. -/// - -QString QXmppMessage::subject() const -{ - return m_subject; -} - -/// Sets the message's subject. -/// -/// \param subject - -void QXmppMessage::setSubject(const QString& subject) -{ - m_subject = subject; -} - -/// Returns the message's thread. - -QString QXmppMessage::thread() const -{ - return m_thread; -} - -/// Sets the message's thread. -/// -/// \param thread - -void QXmppMessage::setThread(const QString& thread) -{ - m_thread = thread; -} - -/// Returns the message's XHTML body as defined by -/// XEP-0071: XHTML-IM. - -QString QXmppMessage::xhtml() const -{ - return m_xhtml; -} - -/// Sets the message's XHTML body as defined by -/// XEP-0071: XHTML-IM. - -void QXmppMessage::setXhtml(const QString &xhtml) -{ - m_xhtml = xhtml; -} +/// \endcond |
