kmail
KMMsgInfo Class Reference
#include <kmmsginfo.h>
Public Member Functions | |
void | compat_fromOldIndexString (const QCString &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 QCString &subject, const QCString &from, const QCString &to, time_t date, KMMsgStatus status, const QCString &xmark, const QCString &replyToId, const QCString &replyToAuxId, const QCString &msgId, const QCString &fileName, KMMsgEncryptionState encryptionState, KMMsgSignatureState signatureState, KMMsgMDNSentState mdnSentState, const QCString &prefCharset, size_t msgSize=0, size_t msgSizeServer=0, ulong UID=0) |
virtual void | init (const QCString &subject, const QCString &from, const QCString &to, time_t date, KMMsgStatus status, const QCString &xmark, const QCString &replyToId, const QCString &replyToAuxId, const QCString &msgId, KMMsgEncryptionState encryptionState, KMMsgSignatureState signatureState, KMMsgMDNSentState mdnSentState, const QCString &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 (const 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 KMMsgStatus status, int idx=-1) |
virtual void | setSubject (const QString &) |
virtual void | setUID (ulong) |
virtual void | setXMark (const QString &) |
virtual KMMsgSignatureState | signatureState () const |
virtual KMMsgStatus | status (void) const |
virtual QString | strippedSubjectMD5 () const |
virtual QString | subject (void) const |
virtual bool | subjectIsPrefixed () const |
virtual QString | toStrip (void) const |
virtual ulong | UID (void) const |
virtual QString | xmark (void) const |
virtual | ~KMMsgInfo () |
Detailed Description
Definition at line 29 of file kmmsginfo.h.
Constructor & Destructor Documentation
KMMsgInfo::KMMsgInfo | ( | KMFolder * | parent, | |
off_t | off = 0 , |
|||
short | len = 0 | |||
) |
Definition at line 117 of file kmmsginfo.cpp.
KMMsgInfo::~KMMsgInfo | ( | ) | [virtual] |
Definition at line 128 of file kmmsginfo.cpp.
Member Function Documentation
void KMMsgInfo::compat_fromOldIndexString | ( | const QCString & | 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 695 of file kmmsginfo.cpp.
KMMsgEncryptionState KMMsgInfo::encryptionState | ( | ) | const [virtual] |
Encryption status of the message.
Implements KMMsgBase.
Definition at line 505 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 QCString & | subject, | |
const QCString & | from, | |||
const QCString & | to, | |||
time_t | date, | |||
KMMsgStatus | status, | |||
const QCString & | xmark, | |||
const QCString & | replyToId, | |||
const QCString & | replyToAuxId, | |||
const QCString & | msgId, | |||
const QCString & | fileName, | |||
KMMsgEncryptionState | encryptionState, | |||
KMMsgSignatureState | signatureState, | |||
KMMsgMDNSentState | mdnSentState, | |||
const QCString & | 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 219 of file kmmsginfo.cpp.
void KMMsgInfo::init | ( | const QCString & | subject, | |
const QCString & | from, | |||
const QCString & | to, | |||
time_t | date, | |||
KMMsgStatus | status, | |||
const QCString & | xmark, | |||
const QCString & | replyToId, | |||
const QCString & | replyToAuxId, | |||
const QCString & | msgId, | |||
KMMsgEncryptionState | encryptionState, | |||
KMMsgSignatureState | signatureState, | |||
KMMsgMDNSentState | mdnSentState, | |||
const QCString & | 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 181 of file kmmsginfo.cpp.
void KMMsgInfo::initStrippedSubjectMD5 | ( | ) | [virtual] |
KMMsgMDNSentState KMMsgInfo::mdnSentState | ( | ) | const [virtual] |
"MDN send" status of the message.
Implements KMMsgBase.
Definition at line 522 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 539 of file kmmsginfo.cpp.
size_t KMMsgInfo::msgSizeServer | ( | void | ) | const [virtual] |
Get/set size of message on server.
Implements KMMsgBase.
Definition at line 558 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 107 of file kmmsginfo.h.
void KMMsgInfo::setDate | ( | time_t | aUnixTime | ) | [virtual] |
void KMMsgInfo::setEncryptionState | ( | const KMMsgEncryptionState | 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 408 of file kmmsginfo.cpp.
void KMMsgInfo::setFileName | ( | const QString & | file | ) | [virtual] |
void KMMsgInfo::setFolderOffset | ( | off_t | offs | ) | [virtual] |
void KMMsgInfo::setMDNSentState | ( | const KMMsgMDNSentState | status, | |
int | idx = -1 | |||
) | [virtual] |
Set "MDN sent" status of the message.
Reimplemented from KMMsgBase.
Definition at line 436 of file kmmsginfo.cpp.
void KMMsgInfo::setMsgIdMD5 | ( | const QString & | aMsgIdMD5 | ) | [virtual] |
Definition at line 395 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 366 of file kmmsginfo.cpp.
void KMMsgInfo::setReplyToIdMD5 | ( | const QString & | aReplyToIdMD5 | ) | [virtual] |
Definition at line 352 of file kmmsginfo.cpp.
void KMMsgInfo::setSignatureState | ( | const KMMsgSignatureState | 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 422 of file kmmsginfo.cpp.
virtual void KMMsgInfo::setStatus | ( | const char * | s1, | |
const char * | s2 = 0 | |||
) | [inline, virtual] |
void KMMsgInfo::setStatus | ( | const KMMsgStatus | status, | |
int | idx = -1 | |||
) | [virtual] |
Set status and mark dirty.
Optional optimization: idx
may specify the index of this message within the parent folder.
Reimplemented from KMMsgBase.
Definition at line 639 of file kmmsginfo.cpp.
void KMMsgInfo::setSubject | ( | const QString & | ) | [virtual] |
Set subject/from/date and xmark.
Implements KMMsgBase.
Definition at line 324 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 514 of file kmmsginfo.cpp.
KMMsgStatus KMMsgInfo::status | ( | void | ) | const [virtual] |
QString KMMsgInfo::strippedSubjectMD5 | ( | ) | const [virtual] |
QString KMMsgInfo::subject | ( | void | ) | const [virtual] |
Inherited methods (see KMMsgBase for description):.
Implements KMMsgBase.
Definition at line 241 of file kmmsginfo.cpp.
bool KMMsgInfo::subjectIsPrefixed | ( | ) | const [virtual] |
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: