aboutsummaryrefslogtreecommitdiff
path: root/source/QXmppVCard.h
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-07-08 13:08:33 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-07-08 13:08:33 +0000
commit8a07e9025a1865bcdcaa652665dbc97deac1ec16 (patch)
tree81b526b69b6d13ef6ae73e1c9bba2b979bd7c07f /source/QXmppVCard.h
parentf24306761d73480962ce4604607f4abf19806742 (diff)
downloadqxmpp-8a07e9025a1865bcdcaa652665dbc97deac1ec16.tar.gz
use parseElementFromChild in all IQ classes
Diffstat (limited to 'source/QXmppVCard.h')
-rw-r--r--source/QXmppVCard.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/QXmppVCard.h b/source/QXmppVCard.h
index e59416dd..ad259854 100644
--- a/source/QXmppVCard.h
+++ b/source/QXmppVCard.h
@@ -46,8 +46,6 @@ public:
void setPhoto(const QByteArray&);
void setPhoto(const QImage&);
- void parse(const QDomElement&);
-
QString firstName() const;
QString fullName() const;
QString lastName() const;
@@ -66,9 +64,11 @@ public:
const QByteArray Q_DECL_DEPRECATED & getPhoto() const;
// obsolete end
-private:
+protected:
+ void parseElementFromChild(const QDomElement&);
void toXmlElementFromChild(QXmlStreamWriter *writer) const;
+private:
QString m_firstName;
QString m_fullName;
QString m_lastName;