14class QXmppVCardAddressPrivate;
15class QXmppVCardEmailPrivate;
16class QXmppVCardPhonePrivate;
17class QXmppVCardOrganizationPrivate;
18class QXmppVCardIqPrivate;
33 Q_DECLARE_FLAGS(Type, TypeFlag)
43 QString country()
const;
44 void setCountry(
const QString &country);
46 QString locality()
const;
47 void setLocality(
const QString &locality);
49 QString postcode()
const;
50 void setPostcode(
const QString &postcode);
52 QString region()
const;
53 void setRegion(
const QString ®ion);
55 QString street()
const;
56 void setStreet(
const QString &street);
59 void setType(Type type);
62 void parse(
const QDomElement &element);
63 void toXml(QXmlStreamWriter *stream)
const;
67 QSharedDataPointer<QXmppVCardAddressPrivate> d;
87 Q_DECLARE_FLAGS(Type, TypeFlag)
95 QString address()
const;
96 void setAddress(
const QString &address);
99 void setType(Type type);
102 void parse(
const QDomElement &element);
103 void toXml(QXmlStreamWriter *stream)
const;
107 QSharedDataPointer<QXmppVCardEmailPrivate> d;
135 Q_DECLARE_FLAGS(Type, TypeFlag)
143 QString number()
const;
144 void setNumber(
const QString &number);
147 void setType(Type type);
150 void parse(
const QDomElement &element);
151 void toXml(QXmlStreamWriter *stream)
const;
155 QSharedDataPointer<QXmppVCardPhonePrivate> d;
175 QString organization()
const;
176 void setOrganization(
const QString &);
178 QString unit()
const;
179 void setUnit(
const QString &);
181 QString title()
const;
182 void setTitle(
const QString &);
184 QString role()
const;
185 void setRole(
const QString &);
188 void parse(
const QDomElement &element);
189 void toXml(QXmlStreamWriter *stream)
const;
193 QSharedDataPointer<QXmppVCardOrganizationPrivate> d;
218 QDate birthday()
const;
219 void setBirthday(
const QDate &birthday);
221 QString description()
const;
222 void setDescription(
const QString &description);
224 QString email()
const;
225 void setEmail(
const QString &);
227 QString firstName()
const;
228 void setFirstName(
const QString &);
230 QString fullName()
const;
231 void setFullName(
const QString &);
233 QString lastName()
const;
234 void setLastName(
const QString &);
236 QString middleName()
const;
237 void setMiddleName(
const QString &);
239 QString nickName()
const;
240 void setNickName(
const QString &);
242 QByteArray photo()
const;
243 void setPhoto(
const QByteArray &);
245 QString photoType()
const;
246 void setPhotoType(
const QString &type);
249 void setUrl(
const QString &);
251 QList<QXmppVCardAddress> addresses()
const;
252 void setAddresses(
const QList<QXmppVCardAddress> &addresses);
254 QList<QXmppVCardEmail> emails()
const;
255 void setEmails(
const QList<QXmppVCardEmail> &emails);
257 QList<QXmppVCardPhone> phones()
const;
258 void setPhones(
const QList<QXmppVCardPhone> &phones);
264 static bool isVCard(
const QDomElement &element);
265 static bool checkIqType(
const QString &tagName,
const QString &xmlNamespace);
270 void parseElementFromChild(
const QDomElement &)
override;
271 void toXmlElementFromChild(QXmlStreamWriter *writer)
const override;
275 QSharedDataPointer<QXmppVCardIqPrivate> d;
The QXmppIq class is the base class for all IQs.
Definition QXmppIq.h:23
Represent a vCard address.
Definition QXmppVCardIq.h:23
TypeFlag
Describes e-mail address types.
Definition QXmppVCardIq.h:26
QXmppVCardAddress(const QXmppVCardAddress &other)
Copy-constructor.
QXmppVCardAddress(QXmppVCardAddress &&)
Move-constructor.
QXmppVCardAddress & operator=(const QXmppVCardAddress &other)
Assignment operator.
QXmppVCardAddress & operator=(QXmppVCardAddress &&)
Move-assignment operator.
Represents a vCard e-mail address.
Definition QXmppVCardIq.h:76
TypeFlag
Describes e-mail address types.
Definition QXmppVCardIq.h:79
Represents the XMPP vCard.
Definition QXmppVCardIq.h:210
Represents organization information in XMPP vCards.
Definition QXmppVCardIq.h:167
Represents a vCard phone number.
Definition QXmppVCardIq.h:116
TypeFlag
Describes phone number types.
Definition QXmppVCardIq.h:119