aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppMessage.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/QXmppMessage.h')
-rw-r--r--src/base/QXmppMessage.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/base/QXmppMessage.h b/src/base/QXmppMessage.h
index 0101e211..330c70fe 100644
--- a/src/base/QXmppMessage.h
+++ b/src/base/QXmppMessage.h
@@ -21,7 +21,6 @@
*
*/
-
#ifndef QXMPPMESSAGE_H
#define QXMPPMESSAGE_H
@@ -33,7 +32,6 @@ class QXmppMessagePrivate;
/// \brief The QXmppMessage class represents an XMPP message.
///
/// \ingroup Stanzas
-///
class QXMPP_EXPORT QXmppMessage : public QXmppStanza
{
@@ -48,8 +46,8 @@ public:
Headline
};
- /// This enum describes a chat state as defined by
- /// XEP-0085 : Chat State Notifications.
+ /// This enum describes a chat state as defined by XEP-0085: Chat State
+ /// Notifications.
enum State
{
None = 0, ///< The message does not contain any chat state information.
@@ -60,8 +58,7 @@ public:
Paused ///< User had been composing but now has stopped.
};
- /// This enum describes a chat marker as defined by
- /// XEP-0333 : Char Markers
+ /// This enum describes a chat marker as defined by XEP-0333: Chat Markers.
enum Marker {
NoMarker = 0,
Received,
@@ -116,7 +113,7 @@ public:
QString xhtml() const;
void setXhtml(const QString &xhtml);
- // XEP-0333
+ // XEP-0333: Chat Markers
bool isMarkable() const;
void setMarkable(const bool);
@@ -143,6 +140,10 @@ public:
QString replaceId() const;
void setReplaceId(const QString&);
+ // XEP-0367: Message Attaching
+ QString attachId() const;
+ void setAttachId(const QString&);
+
// XEP-0369: Mediated Information eXchange (MIX)
QString mixUserJid() const;
void setMixUserJid(const QString&);