diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-07-08 13:08:33 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-07-08 13:08:33 +0000 |
| commit | 8a07e9025a1865bcdcaa652665dbc97deac1ec16 (patch) | |
| tree | 81b526b69b6d13ef6ae73e1c9bba2b979bd7c07f /source/QXmppVCard.cpp | |
| parent | f24306761d73480962ce4604607f4abf19806742 (diff) | |
| download | qxmpp-8a07e9025a1865bcdcaa652665dbc97deac1ec16.tar.gz | |
use parseElementFromChild in all IQ classes
Diffstat (limited to 'source/QXmppVCard.cpp')
| -rw-r--r-- | source/QXmppVCard.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source/QXmppVCard.cpp b/source/QXmppVCard.cpp index 9efdf173..8f986c52 100644 --- a/source/QXmppVCard.cpp +++ b/source/QXmppVCard.cpp @@ -148,12 +148,8 @@ void QXmppVCard::setPhoto(const QImage& image) } #endif -void QXmppVCard::parse(const QDomElement& nodeRecv) +void QXmppVCard::parseElementFromChild(const QDomElement& nodeRecv) { - QXmppStanza::parse(nodeRecv); - - setTypeFromStr(nodeRecv.attribute("type")); - // vCard QDomElement cardElement = nodeRecv.firstChildElement("vCard"); m_fullName = cardElement.firstChildElement("FN").text(); |
