24 #ifndef TEXTLISTVALUE_H
25 #define TEXTLISTVALUE_H
27 #include <tqstrlist.h>
29 #include <tqcstring.h>
31 #include <VCardValue.h>
36 class KVCARD_EXPORT TextListValue :
public Value
40 TextListValue(
const TextListValue&);
41 TextListValue(
const TQCString&);
42 TextListValue & operator = (TextListValue&);
43 TextListValue & operator = (
const TQCString&);
44 bool operator ==(TextListValue&);
45 bool operator !=(TextListValue& x) {
return !(*
this==x);}
46 bool operator ==(
const TQCString& s) {TextListValue a(s);
return(*
this==a);}
47 bool operator != (
const TQCString& s) {
return !(*
this == s);}
49 virtual ~TextListValue();
50 void parse() {
if(!parsed_) _parse();parsed_=
true;assembled_=
false;}
52 void assemble() {
if(assembled_)
return;parse();_assemble();assembled_=
true;}
56 const char * className()
const {
return "TextListValue"; }
58 unsigned int numValues();
59 TQCString value(
unsigned int);