diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-02-15 15:02:21 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-02-15 15:02:21 +0000 |
| commit | 9fa05f589c6a973d10dbfc3a3fd7f2514cf379f2 (patch) | |
| tree | d38c55bf7918b59276bd7af9753fbf6324ffbebe /source/QXmppElement.h | |
| parent | a04f3f45fe4b03ede4f1f89b7610e50714e347b6 (diff) | |
| download | qxmpp-9fa05f589c6a973d10dbfc3a3fd7f2514cf379f2.tar.gz | |
make it possible to get/set QXmppElement value
Diffstat (limited to 'source/QXmppElement.h')
| -rw-r--r-- | source/QXmppElement.h | 4 |
1 files changed, 4 insertions, 0 deletions
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<QString, QString> m_attributes; QList<QXmppElement> m_children; QString m_tagName; + QString m_value; }; #endif |
