60 AddrTypeVideo = 16384,
62 AddrTypeModem = 65536,
63 AddrTypeIsdn = 131072,
252 void setName(
const std::string& family,
const std::string& given,
const std::string& middle =
"",
253 const std::string& prefix =
"",
const std::string& suffix =
"" );
265 void setNickname(
const std::string& nickname ) { m_nickname = nickname; }
271 const std::string&
nickname()
const {
return m_nickname; }
277 void setUrl(
const std::string& url ) { m_url = url; }
283 const std::string&
url()
const {
return m_url; }
289 void setBday(
const std::string& bday ) { m_bday = bday; }
295 const std::string&
bday()
const {
return m_bday; }
301 void setJabberid(
const std::string& jabberid ) { m_jabberid = jabberid; }
307 const std::string&
jabberid()
const {
return m_jabberid; }
313 void setTitle(
const std::string& title ) { m_title = title; }
319 const std::string&
title()
const {
return m_title; }
325 void setRole(
const std::string& role ) { m_role = role; }
331 const std::string&
role()
const {
return m_role; }
337 void setNote(
const std::string& note ) { m_note = note; }
343 const std::string&
note()
const {
return m_note; }
349 void setDesc(
const std::string& desc ) { m_desc = desc; }
355 const std::string&
desc()
const {
return m_desc; }
361 void setMailer(
const std::string& mailer ) { m_mailer = mailer; }
367 const std::string&
mailer()
const {
return m_mailer; }
373 void setRev(
const std::string& rev ) { m_rev = rev; }
379 const std::string&
rev()
const {
return m_rev; }
385 void setUid(
const std::string& uid ) { m_uid = uid; }
391 const std::string&
uid()
const {
return m_uid; }
398 void setTz(
const std::string& tz ) { m_tz = tz; }
404 const std::string&
tz()
const {
return m_tz; }
410 void setProdid(
const std::string& prodid ) { m_prodid = prodid; }
416 const std::string&
prodid()
const {
return m_prodid; }
422 void setSortstring(
const std::string& sortstring ) { m_sortstring = sortstring; }
428 const std::string&
sortstring()
const {
return m_sortstring; }
434 void setPhoto(
const std::string& extval );
441 void setPhoto(
const std::string& type,
const std::string& binval );
453 void setLogo(
const std::string& extval );
460 void setLogo(
const std::string& type,
const std::string& binval );
473 void addEmail(
const std::string& userid,
int type );
492 void addAddress(
const std::string& pobox,
const std::string& extadd,
493 const std::string& street,
const std::string& locality,
494 const std::string& region,
const std::string& pcode,
495 const std::string& ctry,
int type );
502 void addLabel(
const StringList& lines,
int type );
521 void addTelephone(
const std::string& number,
int type );
535 void setGeo(
const std::string& lat,
const std::string& lon );
548 void setOrganization(
const std::string& orgname,
const StringList& orgunits );
570 void checkField(
Tag *vcard,
const std::string& field, std::string& var );
571 void insertField(
Tag *vcard,
const std::string& field,
const std::string& var )
const;
572 void insertField(
Tag *vcard,
const std::string& field,
bool var )
const;
575 EmailList m_emailList;
576 TelephoneList m_telephoneList;
577 AddressList m_addressList;
578 LabelList m_labelList;
586 VCardClassification m_class;
588 std::string m_formattedname;
589 std::string m_nickname;
592 std::string m_jabberid;
597 std::string m_mailer;
599 std::string m_prodid;
601 std::string m_sortstring;