From 9fa05f589c6a973d10dbfc3a3fd7f2514cf379f2 Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Mon, 15 Feb 2010 15:02:21 +0000 Subject: make it possible to get/set QXmppElement value --- source/QXmppElement.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/QXmppElement.h') diff --git a/source/QXmppElement.h b/source/QXmppElement.h index 416487cb..d684ddd3 100644 --- a/source/QXmppElement.h +++ b/source/QXmppElement.h @@ -47,6 +47,9 @@ public: QString tagName() const; void setTagName(const QString &type); + QString value() const; + void setValue(const QString &text); + bool isNull() const; void toXml(QXmlStreamWriter *writer) const; @@ -54,6 +57,7 @@ private: QMap m_attributes; QList m_children; QString m_tagName; + QString m_value; }; #endif -- cgit v1.2.3