27 #include <tqcstring.h>
28 #include <tqstrlist.h>
30 #include <VCardParam.h>
35 class KVCARD_EXPORT AdrParam :
public Param
39 AdrParam(
const AdrParam&);
40 AdrParam(
const TQCString&);
41 AdrParam & operator = (AdrParam&);
42 AdrParam & operator = (
const TQCString&);
43 bool operator ==(AdrParam&);
44 bool operator !=(AdrParam& x) {
return !(*
this==x);}
45 bool operator ==(
const TQCString& s) {AdrParam a(s);
return(*
this==a);}
46 bool operator != (
const TQCString& s) {
return !(*
this == s);}
49 void parse() {
if(!parsed_) _parse();parsed_=
true;assembled_=
false;}
51 void assemble() {
if(assembled_)
return;parse();_assemble();assembled_=
true;}
55 const char * className()
const {
return "AdrParam"; }
57 TQStrList adrTypeList()
58 { parse();
return adrTypeList_; }
61 { parse();
return textParam_; }
63 void setAdrTypeList(
const TQStrList & l)
64 { adrTypeList_ = l; assembled_ =
false; }
66 void setTextParam(
const TQCString & s)
67 { textParam_ = s; assembled_ =
false; }
70 AdrDom, AdrIntl, AdrPostal, AdrParcel, AdrHome, AdrWork, AdrPref,
76 TQStrList adrTypeList_;