24 #include <VCardRToken.h>
26 #include <VCardTextListValue.h>
28 #include <VCardValue.h>
30 using namespace VCARD;
32 TextListValue::TextListValue()
37 TextListValue::TextListValue(
const TextListValue & x)
42 TextListValue::TextListValue(
const TQCString & s)
48 TextListValue::operator = (TextListValue & x)
50 if (*
this == x)
return *
this;
52 Value::operator = (x);
57 TextListValue::operator = (
const TQCString & s)
59 Value::operator = (s);
64 TextListValue::operator == (TextListValue & x)
70 TextListValue::~TextListValue()
75 TextListValue::_parse()
77 RTokenise(strRep_,
";", valueList_);
81 TextListValue::_assemble()
85 TQStrListIterator it(valueList_);
87 for (; it.current(); ++it) {
88 if (!first) strRep_ +=
';';
89 strRep_ += it.current();
95 TextListValue::numValues()
98 return valueList_.count();
102 TextListValue::value(
unsigned int i)
105 return valueList_.at(i);