• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

kmail

KMMsgInfo Class Reference

#include <kmmsginfo.h>

Inheritance diagram for KMMsgInfo:

Inheritance graph
[legend]

List of all members.


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 
)

left for old style index files

Definition at line 709 of file kmmsginfo.cpp.

time_t KMMsgInfo::date ( void   )  const [virtual]

Implements KMMsgBase.

Definition at line 596 of file kmmsginfo.cpp.

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]

Get/set msg filename.

Implements KMMsgBase.

Definition at line 292 of file kmmsginfo.cpp.

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

Get/set offset in mail folder.

Implements KMMsgBase.

Definition at line 580 of file kmmsginfo.cpp.

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

Implements KMMsgBase.

Definition at line 284 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,
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]

Calculate strippedSubject.

Implements KMMsgBase.

Definition at line 428 of file kmmsginfo.cpp.

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]

Implements KMMsgBase.

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

KMMsgInfo & KMMsgInfo::operator= ( const KMMessage &  msg  ) 

Copy operators.

Definition at line 173 of file kmmsginfo.cpp.

QString KMMsgInfo::replyToAuxIdMD5 (  )  const [virtual]

Implements KMMsgBase.

Definition at line 340 of file kmmsginfo.cpp.

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

Implements KMMsgBase.

Definition at line 332 of file kmmsginfo.cpp.

virtual void KMMsgInfo::setDate ( const char *  s1  )  [inline, virtual]

Definition at line 114 of file kmmsginfo.h.

void KMMsgInfo::setDate ( time_t  aUnixTime  )  [virtual]

Implements KMMsgBase.

Definition at line 696 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 456 of file kmmsginfo.cpp.

void KMMsgInfo::setFileName ( const QString &  file  )  [virtual]

Implements KMMsgBase.

Definition at line 675 of file kmmsginfo.cpp.

void KMMsgInfo::setFolderOffset ( off_t  offs  )  [virtual]

Implements KMMsgBase.

Definition at line 662 of file kmmsginfo.cpp.

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]

Implements KMMsgBase.

Definition at line 623 of file kmmsginfo.cpp.

void KMMsgInfo::setMsgSizeServer ( size_t  sz  )  [virtual]

Implements KMMsgBase.

Definition at line 636 of file kmmsginfo.cpp.

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]

Reimplemented from KMMsgBase.

Definition at line 113 of file kmmsginfo.h.

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]

Implements KMMsgBase.

Definition at line 649 of file kmmsginfo.cpp.

void KMMsgInfo::setXMark ( const QString &  aXMark  )  [virtual]

Implements KMMsgBase.

Definition at line 386 of file kmmsginfo.cpp.

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]

Implements KMMsgBase.

Definition at line 348 of file kmmsginfo.cpp.

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]

Implements KMMsgBase.

Definition at line 357 of file kmmsginfo.cpp.

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]

Implements KMMsgBase.

Definition at line 315 of file kmmsginfo.cpp.

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

Get/set UID for IMAP.

Implements KMMsgBase.

Definition at line 615 of file kmmsginfo.cpp.

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

Implements KMMsgBase.

Definition at line 323 of file kmmsginfo.cpp.


The documentation for this class was generated from the following files:
  • kmmsginfo.h
  • kmmsginfo.cpp

kmail

Skip menu "kmail"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  •   doc
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal