27 #include <tqcstring.h>
28 #include <tqstrlist.h>
30 #include <VCardValue.h>
35 class KVCARD_EXPORT LangValue :
public Value
39 LangValue(
const LangValue&);
40 LangValue(
const TQCString&);
41 LangValue & operator = (LangValue&);
42 LangValue & operator = (
const TQCString&);
43 bool operator ==(LangValue&);
44 bool operator !=(LangValue& x) {
return !(*
this==x);}
45 bool operator ==(
const TQCString& s) {LangValue 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 "LangValue"; }
60 void setPrimary(
const TQCString &);
61 void setSubTags(
const TQStrList &);