summaryrefslogtreecommitdiffstats
path: root/tdeabc/vcard/include/VCardEmailParam.h
diff options
context:
space:
mode:
Diffstat (limited to 'tdeabc/vcard/include/VCardEmailParam.h')
-rw-r--r--tdeabc/vcard/include/VCardEmailParam.h37
1 files changed, 27 insertions, 10 deletions
diff --git a/tdeabc/vcard/include/VCardEmailParam.h b/tdeabc/vcard/include/VCardEmailParam.h
index 1fe558afd..4ed4af5a0 100644
--- a/tdeabc/vcard/include/VCardEmailParam.h
+++ b/tdeabc/vcard/include/VCardEmailParam.h
@@ -33,17 +33,34 @@ namespace VCARD
class KVCARD_EXPORT EmailParam : public Param
{
+ public:
+ EmailParam();
+ EmailParam(const EmailParam&);
+ EmailParam(const TQCString&);
+ EmailParam & operator = (EmailParam&);
+ EmailParam & operator = (const TQCString&);
+ bool operator ==(EmailParam&);
+ bool operator !=(EmailParam& x) {return !(*this==x);}
+ bool operator ==(const TQCString& s) {EmailParam a(s);return(*this==a);}
+ bool operator != (const TQCString& s) {return !(*this == s);}
+
+ virtual ~EmailParam();
+ 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 "EmailParam"; }
-#include "EmailParam-generated.h"
-
- TQCString emailType() { parse(); return emailType_; }
- bool pref() { parse(); return pref_; }
-
- void setEmailType(const TQCString & s)
- { emailType_ = s; assembled_ = false; }
-
- void setPref(bool b)
- { pref_ = b; assembled_ = false; }
+ TQCString emailType() { parse(); return emailType_; }
+ bool pref() { parse(); return pref_; }
+
+ void setEmailType(const TQCString & s)
+ { emailType_ = s; assembled_ = false; }
+
+ void setPref(bool b)
+ { pref_ = b; assembled_ = false; }
private: