summaryrefslogtreecommitdiffstats
path: root/tdeabc/vcard/include/VCardSourceParam.h
diff options
context:
space:
mode:
Diffstat (limited to 'tdeabc/vcard/include/VCardSourceParam.h')
-rw-r--r--tdeabc/vcard/include/VCardSourceParam.h27
1 files changed, 22 insertions, 5 deletions
diff --git a/tdeabc/vcard/include/VCardSourceParam.h b/tdeabc/vcard/include/VCardSourceParam.h
index 1d9d03d47..5d80dd2f4 100644
--- a/tdeabc/vcard/include/VCardSourceParam.h
+++ b/tdeabc/vcard/include/VCardSourceParam.h
@@ -33,15 +33,32 @@ namespace VCARD
class KVCARD_EXPORT SourceParam : public Param
{
+ public:
+ SourceParam();
+ SourceParam(const SourceParam&);
+ SourceParam(const TQCString&);
+ SourceParam & operator = (SourceParam&);
+ SourceParam & operator = (const TQCString&);
+ bool operator ==(SourceParam&);
+ bool operator !=(SourceParam& x) {return !(*this==x);}
+ bool operator ==(const TQCString& s) {SourceParam a(s);return(*this==a);}
+ bool operator != (const TQCString& s) {return !(*this == s);}
+
+ virtual ~SourceParam();
+ void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
+
+ void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
+
+ void _parse();
+ void _assemble();
+ const char * className() const { return "SourceParam"; }
+
+ enum SourceParamType { TypeUnknown, TypeValue, TypeContext, TypeX };
-#include "SourceParam-generated.h"
-
- enum SourceParamType { TypeUnknown, TypeValue, TypeContext, TypeX };
-
SourceParamType type() { parse(); return type_;}
TQCString par() { parse(); return par_; }
TQCString val() { parse(); return val_; }
-
+
void setType(SourceParamType t) { type_ = t; assembled_ = false; }
void setPar(const TQCString & s) { par_ = s; assembled_ = false; }
void setVal(const TQCString & s) { val_ = s; assembled_ = false; }