kmail

KMMsgInfo Class Reference

Inheritance diagram for KMMsgInfo:

KMMsgBase List of all members.

Detailed Description

Definition at line 29 of file kmmsginfo.h.


Public Member Functions

 KMMsgInfo (KMFolder *parent, off_t off=0, short len=0)
virtual ~KMMsgInfo ()
void compat_fromOldIndexString (const QCString &str, bool toUtf8)
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 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 QString subject (void) const
virtual QString fromStrip (void) const
virtual QString toStrip (void) const
virtual QString xmark (void) const
virtual QString replyToIdMD5 (void) const
virtual QString replyToAuxIdMD5 () const
virtual QString strippedSubjectMD5 () const
virtual bool subjectIsPrefixed () const
virtual QString msgIdMD5 (void) const
virtual QString fileName (void) const
virtual KMMsgStatus status (void) const
virtual KMMsgEncryptionState encryptionState () const
virtual KMMsgSignatureState signatureState () const
virtual KMMsgMDNSentState mdnSentState () const
virtual off_t folderOffset (void) const
virtual size_t msgSize (void) const
virtual size_t msgSizeServer (void) const
virtual time_t date (void) const
virtual ulong UID (void) const
void setMsgSize (size_t sz)
void setMsgSizeServer (size_t sz)
void setFolderOffset (off_t offs)
void setFileName (const QString &file)
virtual void setStatus (const KMMsgStatus status, int idx=-1)
virtual void setDate (time_t aUnixTime)
virtual void setSubject (const QString &)
virtual void setXMark (const QString &)
virtual void setReplyToIdMD5 (const QString &)
virtual void setReplyToAuxIdMD5 (const QString &)
virtual void initStrippedSubjectMD5 ()
virtual void setMsgIdMD5 (const QString &)
virtual void setEncryptionState (const KMMsgEncryptionState, int idx=-1)
virtual void setSignatureState (const KMMsgSignatureState, int idx=-1)
virtual void setMDNSentState (const KMMsgMDNSentState, int idx=-1)
virtual void setUID (ulong)
virtual void setStatus (const char *s1, const char *s2=0)
virtual void setDate (const char *s1)
virtual bool dirty (void) const
KMMsgInfooperator= (const KMMessage &)

Member Function Documentation

void KMMsgInfo::compat_fromOldIndexString ( const QCString &  str,
bool  toUtf8 
)

left for old style index files

Definition at line 660 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::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.

QString KMMsgInfo::subject ( void   )  const [virtual]

Inherited methods (see KMMsgBase for description):.

Implements KMMsgBase.

Definition at line 241 of file kmmsginfo.cpp.

QString KMMsgInfo::fileName ( void   )  const [virtual]

Get/set msg filename.

Implements KMMsgBase.

Definition at line 258 of file kmmsginfo.cpp.

KMMsgStatus KMMsgInfo::status ( void   )  const [virtual]

Status of the message.

Implements KMMsgBase.

Definition at line 450 of file kmmsginfo.cpp.

KMMsgEncryptionState KMMsgInfo::encryptionState (  )  const [virtual]

Encryption status of the message.

Implements KMMsgBase.

Definition at line 505 of file kmmsginfo.cpp.

KMMsgSignatureState KMMsgInfo::signatureState (  )  const [virtual]

Signature status of the message.

Implements KMMsgBase.

Definition at line 514 of file kmmsginfo.cpp.

KMMsgMDNSentState KMMsgInfo::mdnSentState (  )  const [virtual]

"MDN send" status of the message.

Implements KMMsgBase.

Definition at line 522 of file kmmsginfo.cpp.

off_t KMMsgInfo::folderOffset ( void   )  const [virtual]

Get/set offset in mail folder.

Implements KMMsgBase.

Definition at line 531 of file kmmsginfo.cpp.

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.

ulong KMMsgInfo::UID ( void   )  const [virtual]

Get/set UID for IMAP.

Implements KMMsgBase.

Definition at line 566 of file kmmsginfo.cpp.

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::initStrippedSubjectMD5 (  )  [virtual]

Calculate strippedSubject.

Implements KMMsgBase.

Definition at line 380 of file kmmsginfo.cpp.

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 408 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 422 of file kmmsginfo.cpp.

void KMMsgInfo::setMDNSentState ( const   KMMsgMDNSentState,
int  idx = -1 
) [virtual]

Set "MDN sent" status of the message.

Reimplemented from KMMsgBase.

Definition at line 436 of file kmmsginfo.cpp.

virtual void KMMsgInfo::setStatus ( const char *  s1,
const char *  s2 = 0 
) [inline, virtual]

Grr.

. c++!

Reimplemented from KMMsgBase.

Definition at line 106 of file kmmsginfo.h.

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.

KMMsgInfo & KMMsgInfo::operator= ( const KMMessage  ) 

Copy operators.

Definition at line 153 of file kmmsginfo.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys