diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2012-04-23 20:01:59 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2012-04-23 20:01:59 +0000 |
| commit | 0bbe151263ceffd4cf7ab9497fffa425284d3108 (patch) | |
| tree | 6a17e42e3da03faaee463debd76e3a09c5dc6b3b /src/base | |
| parent | 67443567a3dfeb170cd158c4fe4078916f2adbdc (diff) | |
| download | qxmpp-0bbe151263ceffd4cf7ab9497fffa425284d3108.tar.gz | |
make QXmppElementList a typedef (thanks Matt)
Diffstat (limited to 'src/base')
| -rw-r--r-- | src/base/QXmppElement.cpp | 16 | ||||
| -rw-r--r-- | src/base/QXmppElement.h | 9 |
2 files changed, 1 insertions, 24 deletions
diff --git a/src/base/QXmppElement.cpp b/src/base/QXmppElement.cpp index 904ab473..8832038c 100644 --- a/src/base/QXmppElement.cpp +++ b/src/base/QXmppElement.cpp @@ -223,19 +223,3 @@ void QXmppElement::toXml(QXmlStreamWriter *writer) const child.toXml(writer); writer->writeEndElement(); } - -QXmppElementList::QXmppElementList() -{ -} - -QXmppElementList::QXmppElementList(const QXmppElement &element) -{ - append(element); -} - - -QXmppElementList::QXmppElementList(const QList<QXmppElement> &other) - : QList<QXmppElement>(other) -{ -} - diff --git a/src/base/QXmppElement.h b/src/base/QXmppElement.h index b8da1f16..1bf2a7fa 100644 --- a/src/base/QXmppElement.h +++ b/src/base/QXmppElement.h @@ -34,14 +34,7 @@ class QDomElement; class QXmppElement; class QXmppElementPrivate; -class QXMPP_EXPORT QXmppElementList : public QList<QXmppElement> -{ -public: - QXmppElementList(); - QXmppElementList(const QXmppElement &element); - QXmppElementList(const QList<QXmppElement> &other); -}; - +typedef QList<QXmppElement> QXmppElementList; class QXMPP_EXPORT QXmppElement { public: |
