diff options
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: |
