24 #include <VCardRToken.h>
26 #include <VCardLangValue.h>
28 #include <VCardValue.h>
30 using namespace VCARD;
32 LangValue::LangValue()
37 LangValue::LangValue(
const LangValue & x)
42 LangValue::LangValue(
const TQCString & s)
48 LangValue::operator = (LangValue & x)
50 if (*
this == x)
return *
this;
52 Value::operator = (x);
57 LangValue::operator = (
const TQCString & s)
59 Value::operator = (s);
64 LangValue::operator == (LangValue & x)
70 LangValue::~LangValue()
78 RTokenise(strRep_,
"-", l);
80 if (l.count() == 0)
return;
90 LangValue::_assemble()
94 TQStrListIterator it(subtags_);
96 for (; it.current(); ++it)
97 strRep_ += TQCString(
'-') + it.current();
115 LangValue::setPrimary(
const TQCString & s)
122 LangValue::setSubTags(
const TQStrList & l)