27 #include <tqptrlist.h>
29 #include "VCardEnum.h"
30 #include "VCardEntity.h"
31 #include "VCardParam.h"
32 #include "VCardValue.h"
37 class KVCARD_EXPORT ContentLine :
public Entity
41 ContentLine(
const ContentLine&);
42 ContentLine(
const TQCString&);
43 ContentLine & operator = (ContentLine&);
44 ContentLine & operator = (
const TQCString&);
45 bool operator ==(ContentLine&);
46 bool operator !=(ContentLine& x) {
return !(*
this==x);}
47 bool operator ==(
const TQCString& s) {ContentLine a(s);
return(*
this==a);}
48 bool operator != (
const TQCString& s) {
return !(*
this == s);}
50 virtual ~ContentLine();
51 void parse() {
if(!parsed_) _parse();parsed_=
true;assembled_=
false;}
53 void assemble() {
if(assembled_)
return;parse();_assemble();assembled_=
true;}
57 const char * className()
const {
return "ContentLine"; }
59 TQCString group() { parse();
return group_; }
60 TQCString
name() { parse();
return name_; }
61 Value * value() { parse();
return value_; }
62 ParamList paramList() { parse();
return paramList_; }
63 ParamType paramType() { parse();
return paramType_; }
64 ValueType valueType() { parse();
return valueType_; }
65 EntityType entityType() { parse();
return entityType_; }
67 void setGroup (
const TQCString & s)
68 { group_ = s; assembled_ =
false; }
70 void setName (
const TQCString & s)
71 { name_ = s; assembled_ =
false; }
73 void setValue (Value *s)
74 { value_ = s; assembled_ =
false; }
76 void setParamList (
const ParamList & l)
77 { paramList_ = l; assembled_ =
false; }
85 TQPtrList<Param> paramList_;
90 EntityType entityType_;
TDEAction * clear(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name=0)
TQString name(StdAccel id)