kmail
KMMsgInfo Class Reference
#include <kmmsginfo.h>

Detailed Description
Definition at line 29 of file kmmsginfo.h.
Public Member Functions | |
| void | compat_fromOldIndexString (const QByteArray &str, bool toUtf8) |
| virtual time_t | date (void) const |
| virtual bool | dirty (void) const |
| virtual KMMsgEncryptionState | encryptionState () const |
| virtual QString | fileName (void) const |
| virtual off_t | folderOffset (void) const |
| virtual QString | fromStrip (void) const |
| virtual void | init (const QByteArray &subject, const QByteArray &from, const QByteArray &to, time_t date, const MessageStatus &status, const QByteArray &xmark, const QByteArray &replyToId, const QByteArray &replyToAuxId, const QByteArray &msgId, const QByteArray &fileName, KMMsgEncryptionState encryptionState, KMMsgSignatureState signatureState, KMMsgMDNSentState mdnSentState, const QByteArray &prefCharset, size_t msgSize=0, size_t msgSizeServer=0, ulong UID=0) |
| virtual void | init (const QByteArray &subject, const QByteArray &from, const QByteArray &to, time_t date, const MessageStatus &status, const QByteArray &xmark, const QByteArray &replyToId, const QByteArray &replyToAuxId, const QByteArray &msgId, KMMsgEncryptionState encryptionState, KMMsgSignatureState signatureState, KMMsgMDNSentState mdnSentState, const QByteArray &prefCharset, off_t folderOffset=0, size_t msgSize=0, size_t msgSizeServer=0, ulong UID=0) |
| virtual void | initStrippedSubjectMD5 () |
| KMMsgInfo (KMFolder *parent, off_t off=0, short len=0) | |
| virtual KMMsgMDNSentState | mdnSentState () const |
| virtual QString | msgIdMD5 (void) const |
| virtual size_t | msgSize (void) const |
| virtual size_t | msgSizeServer (void) const |
| KMMsgInfo & | operator= (const KMMessage &) |
| virtual QString | replyToAuxIdMD5 () const |
| virtual QString | replyToIdMD5 (void) const |
| virtual void | setDate (const char *s1) |
| virtual void | setDate (time_t aUnixTime) |
| virtual void | setEncryptionState (const KMMsgEncryptionState, int idx=-1) |
| void | setFileName (const QString &file) |
| void | setFolderOffset (off_t offs) |
| virtual void | setMDNSentState (KMMsgMDNSentState, int idx=-1) |
| virtual void | setMsgIdMD5 (const QString &) |
| void | setMsgSize (size_t sz) |
| void | setMsgSizeServer (size_t sz) |
| virtual void | setReplyToAuxIdMD5 (const QString &) |
| virtual void | setReplyToIdMD5 (const QString &) |
| virtual void | setSignatureState (const KMMsgSignatureState, int idx=-1) |
| virtual void | setStatus (const char *s1, const char *s2=0) |
| virtual void | setStatus (const MessageStatus &status, int idx=-1) |
| virtual void | setSubject (const QString &) |
| virtual void | setUID (ulong) |
| virtual void | setXMark (const QString &) |
| virtual KMMsgSignatureState | signatureState () const |
| virtual MessageStatus & | status () const |
| virtual QString | strippedSubjectMD5 () const |
| virtual QString | subject (void) const |
| virtual bool | subjectIsPrefixed () const |
| virtual KMMessageTagList * | tagList (void) const |
| virtual QString | tagString (void) const |
| virtual QString | toStrip (void) const |
| virtual ulong | UID (void) const |
| virtual QString | xmark (void) const |
| virtual | ~KMMsgInfo () |
Constructor & Destructor Documentation
| KMMsgInfo::KMMsgInfo | ( | KMFolder * | parent, | |
| off_t | off = 0, |
|||
| short | len = 0 | |||
| ) | [explicit] |
Definition at line 138 of file kmmsginfo.cpp.
| KMMsgInfo::~KMMsgInfo | ( | ) | [virtual] |
Definition at line 148 of file kmmsginfo.cpp.
Member Function Documentation
| void KMMsgInfo::compat_fromOldIndexString | ( | const QByteArray & | str, | |
| bool | toUtf8 | |||
| ) |
| time_t KMMsgInfo::date | ( | void | ) | const [virtual] |
| bool KMMsgInfo::dirty | ( | void | ) | const [virtual] |
Returns true if changed since last folder-sync.
Reimplemented from KMMsgBase.
Definition at line 744 of file kmmsginfo.cpp.
| KMMsgEncryptionState KMMsgInfo::encryptionState | ( | ) | const [virtual] |
Encryption status of the message.
Implements KMMsgBase.
Definition at line 554 of file kmmsginfo.cpp.
| QString KMMsgInfo::fileName | ( | void | ) | const [virtual] |
| off_t KMMsgInfo::folderOffset | ( | void | ) | const [virtual] |
| QString KMMsgInfo::fromStrip | ( | void | ) | const [virtual] |
| void KMMsgInfo::init | ( | const QByteArray & | subject, | |
| const QByteArray & | from, | |||
| const QByteArray & | to, | |||
| time_t | date, | |||
| const MessageStatus & | status, | |||
| const QByteArray & | xmark, | |||
| const QByteArray & | replyToId, | |||
| const QByteArray & | replyToAuxId, | |||
| const QByteArray & | msgId, | |||
| const QByteArray & | fileName, | |||
| KMMsgEncryptionState | encryptionState, | |||
| KMMsgSignatureState | signatureState, | |||
| KMMsgMDNSentState | mdnSentState, | |||
| const QByteArray & | prefCharset, | |||
| size_t | msgSize = 0, |
|||
| size_t | msgSizeServer = 0, |
|||
| ulong | UID = 0 | |||
| ) | [virtual] |
Initialize with given values and set dirty flag to false.
Definition at line 253 of file kmmsginfo.cpp.
| void KMMsgInfo::init | ( | const QByteArray & | subject, | |
| const QByteArray & | from, | |||
| const QByteArray & | to, | |||
| time_t | date, | |||
| const MessageStatus & | status, | |||
| const QByteArray & | xmark, | |||
| const QByteArray & | replyToId, | |||
| const QByteArray & | replyToAuxId, | |||
| const QByteArray & | msgId, | |||
| KMMsgEncryptionState | encryptionState, | |||
| KMMsgSignatureState | signatureState, | |||
| KMMsgMDNSentState | mdnSentState, | |||
| const QByteArray & | prefCharset, | |||
| off_t | folderOffset = 0, |
|||
| size_t | msgSize = 0, |
|||
| size_t | msgSizeServer = 0, |
|||
| ulong | UID = 0 | |||
| ) | [virtual] |
Initialize with given values and set dirty flag to false.
Definition at line 209 of file kmmsginfo.cpp.
| void KMMsgInfo::initStrippedSubjectMD5 | ( | ) | [virtual] |
| KMMsgMDNSentState KMMsgInfo::mdnSentState | ( | ) | const [virtual] |
"MDN send" status of the message.
Implements KMMsgBase.
Definition at line 571 of file kmmsginfo.cpp.
| QString KMMsgInfo::msgIdMD5 | ( | void | ) | const [virtual] |
| size_t KMMsgInfo::msgSize | ( | void | ) | const [virtual] |
Get/set size of message including the whole header in bytes.
Implements KMMsgBase.
Definition at line 588 of file kmmsginfo.cpp.
| size_t KMMsgInfo::msgSizeServer | ( | void | ) | const [virtual] |
Get/set size of message on server.
Implements KMMsgBase.
Definition at line 607 of file kmmsginfo.cpp.
| QString KMMsgInfo::replyToAuxIdMD5 | ( | ) | const [virtual] |
| QString KMMsgInfo::replyToIdMD5 | ( | void | ) | const [virtual] |
| virtual void KMMsgInfo::setDate | ( | const char * | s1 | ) | [inline, virtual] |
Definition at line 114 of file kmmsginfo.h.
| void KMMsgInfo::setDate | ( | time_t | aUnixTime | ) | [virtual] |
| void KMMsgInfo::setEncryptionState | ( | const | KMMsgEncryptionState, | |
| int | idx = -1 | |||
| ) | [virtual] |
Set encryption status of the message and mark dirty.
Optional optimization: idx may specify the index of this message within the parent folder.
Reimplemented from KMMsgBase.
Definition at line 456 of file kmmsginfo.cpp.
| void KMMsgInfo::setFileName | ( | const QString & | file | ) | [virtual] |
| void KMMsgInfo::setFolderOffset | ( | off_t | offs | ) | [virtual] |
| void KMMsgInfo::setMDNSentState | ( | KMMsgMDNSentState | status, | |
| int | idx = -1 | |||
| ) | [virtual] |
Set "MDN sent" status of the message.
Reimplemented from KMMsgBase.
Definition at line 484 of file kmmsginfo.cpp.
| void KMMsgInfo::setMsgIdMD5 | ( | const QString & | aMsgIdMD5 | ) | [virtual] |
Definition at line 443 of file kmmsginfo.cpp.
| void KMMsgInfo::setMsgSize | ( | size_t | sz | ) | [virtual] |
| void KMMsgInfo::setMsgSizeServer | ( | size_t | sz | ) | [virtual] |
| void KMMsgInfo::setReplyToAuxIdMD5 | ( | const QString & | aReplyToAuxIdMD5 | ) | [virtual] |
Definition at line 414 of file kmmsginfo.cpp.
| void KMMsgInfo::setReplyToIdMD5 | ( | const QString & | aReplyToIdMD5 | ) | [virtual] |
Definition at line 400 of file kmmsginfo.cpp.
| void KMMsgInfo::setSignatureState | ( | const | KMMsgSignatureState, | |
| int | idx = -1 | |||
| ) | [virtual] |
Set signature status of the message and mark dirty.
Optional optimization: idx may specify the index of this message within the parent folder.
Reimplemented from KMMsgBase.
Definition at line 470 of file kmmsginfo.cpp.
| virtual void KMMsgInfo::setStatus | ( | const char * | s1, | |
| const char * | s2 = 0 | |||
| ) | [inline, virtual] |
| void KMMsgInfo::setStatus | ( | const MessageStatus & | status, | |
| int | idx = -1 | |||
| ) | [virtual] |
Definition at line 688 of file kmmsginfo.cpp.
| void KMMsgInfo::setSubject | ( | const QString & | ) | [virtual] |
Set subject/from/date and xmark.
Implements KMMsgBase.
Definition at line 372 of file kmmsginfo.cpp.
| void KMMsgInfo::setUID | ( | ulong | uid | ) | [virtual] |
| void KMMsgInfo::setXMark | ( | const QString & | aXMark | ) | [virtual] |
| KMMsgSignatureState KMMsgInfo::signatureState | ( | ) | const [virtual] |
Signature status of the message.
Implements KMMsgBase.
Definition at line 563 of file kmmsginfo.cpp.
| MessageStatus & KMMsgInfo::status | ( | ) | const [virtual] |
Status object of the message.
Reimplemented from KMMsgBase.
Definition at line 498 of file kmmsginfo.cpp.
| QString KMMsgInfo::strippedSubjectMD5 | ( | ) | const [virtual] |
| QString KMMsgInfo::subject | ( | void | ) | const [virtual] |
Inherited methods (see KMMsgBase for description):.
Implements KMMsgBase.
Definition at line 275 of file kmmsginfo.cpp.
| bool KMMsgInfo::subjectIsPrefixed | ( | ) | const [virtual] |
| KMMessageTagList * KMMsgInfo::tagList | ( | void | ) | const [virtual] |
Get a pointer to the tag label list.
Implements KMMsgBase.
Definition at line 304 of file kmmsginfo.cpp.
| QString KMMsgInfo::tagString | ( | void | ) | const [virtual] |
Get a comma separated list of tag labels.
Implements KMMsgBase.
Definition at line 300 of file kmmsginfo.cpp.
| QString KMMsgInfo::toStrip | ( | void | ) | const [virtual] |
| ulong KMMsgInfo::UID | ( | void | ) | const [virtual] |
| QString KMMsgInfo::xmark | ( | void | ) | const [virtual] |
The documentation for this class was generated from the following files:
KDE 4.2 API Reference