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/intid.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/intid.h')
-rw-r--r-- | korn/intid.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/korn/intid.h b/korn/intid.h new file mode 100644 index 000000000..ab4b4d3cc --- /dev/null +++ b/korn/intid.h @@ -0,0 +1,52 @@ +#ifndef IntId_h +#define IntId_h + +#include "mailid.h" + +/** + * Mail ID for mailboxes, which identify their mails by an integer number + */ +class KornIntId : public KornMailId +{ + /** + * the mail id + */ + int _id; +public: + /** + * KornIntId Destructor + */ + virtual ~KornIntId(); + + /** + * KornIntId Constructor + * @param id: mail id + */ + KornIntId(int id); + + /** + * KornIntId Copy Constructor + * @param src: KornIntId to copy from + */ + KornIntId(const KornIntId& src); + + /** + * Return the mail id + * @return the mail id + */ + int getId() const {return _id;} + + /** + * Return a string representation of this (for debugging purposes only) + * @return a string representation + */ + virtual QString toString() const; + + /** + * Create an exact copy of this. + * @return the cloned object + */ + virtual KornMailId * clone() const; +}; + +#endif |