27 #include <tqcstring.h>
29 #include <VCardParam.h>
34 class KVCARD_EXPORT EmailParam :
public Param
38 EmailParam(
const EmailParam&);
39 EmailParam(
const TQCString&);
40 EmailParam & operator = (EmailParam&);
41 EmailParam & operator = (
const TQCString&);
42 bool operator ==(EmailParam&);
43 bool operator !=(EmailParam& x) {
return !(*
this==x);}
44 bool operator ==(
const TQCString& s) {EmailParam a(s);
return(*
this==a);}
45 bool operator != (
const TQCString& s) {
return !(*
this == s);}
47 virtual ~EmailParam();
48 void parse() {
if(!parsed_) _parse();parsed_=
true;assembled_=
false;}
50 void assemble() {
if(assembled_)
return;parse();_assemble();assembled_=
true;}
54 const char * className()
const {
return "EmailParam"; }
56 TQCString emailType() { parse();
return emailType_; }
57 bool pref() { parse();
return pref_; }
59 void setEmailType(
const TQCString & s)
60 { emailType_ = s; assembled_ =
false; }
63 { pref_ = b; assembled_ =
false; }