diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | 460c52653ab0dcca6f19a4f492ed2c5e4e963ab0 (patch) | |
tree | 67208f7c145782a7e90b123b982ca78d88cc2c87 /korn/mailid.h | |
download | tdepim-460c52653ab0dcca6f19a4f492ed2c5e4e963ab0.tar.gz tdepim-460c52653ab0dcca6f19a4f492ed2c5e4e963ab0.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'korn/mailid.h')
-rw-r--r-- | korn/mailid.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/korn/mailid.h b/korn/mailid.h new file mode 100644 index 000000000..d640bfe7f --- /dev/null +++ b/korn/mailid.h @@ -0,0 +1,33 @@ +#ifndef MailId_h +#define MailId_h + +#include <qstring.h> + +/** + * Abstract base class for mail ids. Concrete mail ids store the id. + * Its sole purpose is to treat all possible mail id format in a unique + * way (by inheritence). + */ +class KornMailId +{ +public: + /** + * KornMailId Destructor + */ + virtual ~KornMailId(); + + /** + * Return a string representation of this (for debuggin purposes only) + * @return a string representation + */ + virtual QString toString() const = 0; + + /** + * Create an exact copy of this. + * @return the cloned object + */ + virtual KornMailId * clone() const = 0; +}; + + +#endif |