aboutsummaryrefslogtreecommitdiff
path: root/src/QXmppMessage.h
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2011-09-20 15:20:28 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2011-09-20 15:20:28 +0000
commit44593bd7f234284a515df59cce3332f8b91d5022 (patch)
treec826e4a4b658c9f4cf9a6c9f5792743bac3b55d4 /src/QXmppMessage.h
parent037e07e751c4ebd443a5dfff99bebabdd5c9f407 (diff)
downloadqxmpp-44593bd7f234284a515df59cce3332f8b91d5022.tar.gz
add support for XEP-0224: Attention (Fixes issue #109)
Diffstat (limited to 'src/QXmppMessage.h')
-rw-r--r--src/QXmppMessage.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/QXmppMessage.h b/src/QXmppMessage.h
index 201debcc..b73b5a0b 100644
--- a/src/QXmppMessage.h
+++ b/src/QXmppMessage.h
@@ -61,10 +61,13 @@ public:
QXmppMessage(const QString& from = "", const QString& to = "",
const QString& body = "", const QString& thread = "");
~QXmppMessage();
-
+
QString body() const;
void setBody(const QString&);
+ bool isAttentionRequested() const;
+ void setAttentionRequested(bool requested);
+
QDateTime stamp() const;
void setStamp(const QDateTime &stamp);
@@ -101,6 +104,7 @@ private:
StampType m_stampType;
State m_state;
+ bool m_attentionRequested;
QString m_body;
QString m_subject;
QString m_thread;