diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-12-19 11:48:03 +0900 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-02-03 22:55:31 +0100 |
commit | aa3ffe33cabdbd6ae9403d992b30b8bee97dfe3f (patch) | |
tree | 4f0a210cb889bb6e141ead39a94eb32c180e6087 /kabc/vcard/include/VCardTelValue.h | |
parent | 3fd534c3f9d83029eb113cdbc32f65fe56f3c3d0 (diff) | |
download | tdelibs-aa3ffe33cabdbd6ae9403d992b30b8bee97dfe3f.tar.gz tdelibs-aa3ffe33cabdbd6ae9403d992b30b8bee97dfe3f.zip |
tdeabc/vcard: integrated "generated" partial header files into the place where they
are actually used.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 5cb3ed2e545a03815cdd04ab8666b605a71c44b4)
Diffstat (limited to 'kabc/vcard/include/VCardTelValue.h')
-rw-r--r-- | kabc/vcard/include/VCardTelValue.h | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/kabc/vcard/include/VCardTelValue.h b/kabc/vcard/include/VCardTelValue.h index 043a45aa9..e02504112 100644 --- a/kabc/vcard/include/VCardTelValue.h +++ b/kabc/vcard/include/VCardTelValue.h @@ -33,10 +33,25 @@ namespace VCARD class KVCARD_EXPORT TelValue : public Value { - -#include "TelValue-generated.h" - - private: + public: + TelValue(); + TelValue(const TelValue&); + TelValue(const TQCString&); + TelValue & operator = (TelValue&); + TelValue & operator = (const TQCString&); + bool operator ==(TelValue&); + bool operator !=(TelValue& x) {return !(*this==x);} + bool operator ==(const TQCString& s) {TelValue a(s);return(*this==a);} + bool operator != (const TQCString& s) {return !(*this == s);} + + virtual ~TelValue(); + 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 "TelValue"; } }; } |