aboutsummaryrefslogtreecommitdiff
path: root/source/QXmppElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/QXmppElement.h')
-rw-r--r--source/QXmppElement.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/source/QXmppElement.h b/source/QXmppElement.h
index ca1159ba..74f8150c 100644
--- a/source/QXmppElement.h
+++ b/source/QXmppElement.h
@@ -25,7 +25,7 @@
#define QXMPPELEMENT_H
#include <QMap>
-#include <QString>
+#include <QStringList>
#include <QXmlStreamWriter>
class QDomElement;
@@ -36,9 +36,14 @@ public:
QXmppElement();
QXmppElement(const QDomElement &element);
+ QStringList attributeNames() const;
+
QString attribute(const QString &name) const;
void setAttribute(const QString &name, const QString &value);
+ QList<QXmppElement> children() const;
+ void setChildren(QList<QXmppElement> &children);
+
QString tagName() const;
void setTagName(const QString &type);
@@ -46,6 +51,7 @@ public:
private:
QMap<QString, QString> m_attributes;
+ QList<QXmppElement> m_children;
QString m_tagName;
};