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

kmail

partNode Class Reference

#include <partNode.h>

List of all members.


Detailed Description

Definition at line 64 of file partNode.h.


Public Member Functions

void adjustDefaultType (partNode *node)
KMail::Interface::BodyPartMemento * bodyPartMemento () const
void buildObjectTree (bool processSiblings=true)
int childCount () const
QString contentTypeParameter (const char *name) const
void dump (int chars=0) const
DwBodyPart * dwPart () const
const QByteArray & encodedBody ()
KMMsgEncryptionState encryptionState () const
void fillMimePartTree (KMMimePartTreeItem *parentItem, KMMimePartTree *mimePartTree, const QString &labelDescr=QString(), const QString &labelCntType=QString(), const QString &labelEncoding=QString(), KIO::filesize_t size=0, bool revertOrder=false)
partNode * findId (int id)
partNode * findNodeForDwPart (DwBodyPart *part)
partNode * findType (int type, int subType, bool deep=true, bool wide=true)
partNode * findTypeNot (int type, int subType, bool deep=true, bool wide=true)
partNode * firstChild () const
bool hasContentDispositionInline () const
bool hasSubType (int subType)
bool hasType (int type)
bool isAttachment () const
bool isFirstTextPart () const
bool isHeuristicalAttachment () const
KMMimePartTreeItem * mimePartTreeItem ()
KMMessagePart & msgPart () const
partNode * next (bool allowChildren=true) const
partNode * nextSibling () const
int nodeId () const
KMMsgEncryptionState overallEncryptionState () const
KMMsgSignatureState overallSignatureState () const
partNode * parentNode () const
 partNode (bool deleteDwBodyPart, DwBodyPart *dwPart)
 partNode (DwBodyPart *dwPart, int explicitType=DwMime::kTypeUnknown, int explicitSubType=DwMime::kSubtypeUnknown, bool deleteDwBodyPart=false)
bool processed () const
void setBodyPartMemento (KMail::Interface::BodyPartMemento *memento)
void setDwPart (DwBodyPart *part)
void setEncryptionState (KMMsgEncryptionState state)
void setFirstChild (partNode *child)
void setFromAddress (const QString &address)
void setMimePartTreeItem (KMMimePartTreeItem *item)
void setNext (partNode *next)
void setProcessed (bool processed, bool recurse)
void setSignatureState (KMMsgSignatureState state)
void setSubType (int subType)
void setType (int type)
KMMsgSignatureState signatureState () const
int subType () const
QByteArray subTypeString () const
const QString & trueFromAddress () const
int type () const
QByteArray typeString () const
 ~partNode ()

Static Public Member Functions

static partNode * fromMessage (const KMMessage *msg)

Constructor & Destructor Documentation

partNode::partNode ( DwBodyPart *  dwPart,
int  explicitType = DwMime::kTypeUnknown,
int  explicitSubType = DwMime::kSubtypeUnknown,
bool  deleteDwBodyPart = false 
) [explicit]

Definition at line 71 of file partNode.cpp.

partNode::partNode ( bool  deleteDwBodyPart,
DwBodyPart *  dwPart 
)

Definition at line 134 of file partNode.cpp.

partNode::~partNode (  ) 

Definition at line 155 of file partNode.cpp.


Member Function Documentation

void partNode::adjustDefaultType ( partNode *  node  ) 

Definition at line 521 of file partNode.cpp.

KMail::Interface::BodyPartMemento* partNode::bodyPartMemento (  )  const [inline]

Definition at line 234 of file partNode.h.

void partNode::buildObjectTree ( bool  processSiblings = true  ) 

Definition at line 189 of file partNode.cpp.

int partNode::childCount (  )  const

Definition at line 231 of file partNode.cpp.

QString partNode::contentTypeParameter ( const char *  name  )  const

Definition at line 238 of file partNode.cpp.

void partNode::dump ( int  chars = 0  )  const

Definition at line 165 of file partNode.cpp.

DwBodyPart* partNode::dwPart (  )  const [inline]

Definition at line 88 of file partNode.h.

const QByteArray & partNode::encodedBody (  ) 

Definition at line 176 of file partNode.cpp.

KMMsgEncryptionState partNode::encryptionState (  )  const [inline]

Definition at line 138 of file partNode.h.

void partNode::fillMimePartTree ( KMMimePartTreeItem *  parentItem,
KMMimePartTree *  mimePartTree,
const QString &  labelDescr = QString(),
const QString &  labelCntType = QString(),
const QString &  labelEncoding = QString(),
KIO::filesize_t  size = 0,
bool  revertOrder = false 
)

Definition at line 440 of file partNode.cpp.

partNode * partNode::findId ( int  id  ) 

Definition at line 352 of file partNode.cpp.

partNode * partNode::findNodeForDwPart ( DwBodyPart *  part  ) 

Definition at line 413 of file partNode.cpp.

partNode * partNode::findType ( int  type,
int  subType,
bool  deep = true,
bool  wide = true 
)

Definition at line 391 of file partNode.cpp.

partNode * partNode::findTypeNot ( int  type,
int  subType,
bool  deep = true,
bool  wide = true 
)

Definition at line 425 of file partNode.cpp.

partNode* partNode::firstChild (  )  const [inline]

Definition at line 229 of file partNode.h.

partNode * partNode::fromMessage ( const KMMessage *  msg  )  [static]

Definition at line 107 of file partNode.cpp.

bool partNode::hasContentDispositionInline (  )  const

Definition at line 592 of file partNode.cpp.

bool partNode::hasSubType ( int  subType  )  [inline]

Definition at line 131 of file partNode.h.

bool partNode::hasType ( int  type  )  [inline]

Definition at line 127 of file partNode.h.

bool partNode::isAttachment (  )  const

Definition at line 541 of file partNode.cpp.

bool partNode::isFirstTextPart (  )  const

returns true if this is the first text part of the message this node is a body part of

Definition at line 573 of file partNode.cpp.

bool partNode::isHeuristicalAttachment (  )  const

Definition at line 554 of file partNode.cpp.

KMMimePartTreeItem* partNode::mimePartTreeItem (  )  [inline]

Definition at line 206 of file partNode.h.

KMMessagePart& partNode::msgPart ( void   )  const [inline]

Definition at line 97 of file partNode.h.

partNode * partNode::next ( bool  allowChildren = true  )  const

Definition at line 561 of file partNode.cpp.

partNode* partNode::nextSibling (  )  const [inline]

Definition at line 228 of file partNode.h.

int partNode::nodeId (  )  const

Definition at line 342 of file partNode.cpp.

KMMsgEncryptionState partNode::overallEncryptionState (  )  const

Definition at line 256 of file partNode.cpp.

KMMsgSignatureState partNode::overallSignatureState (  )  const

Definition at line 299 of file partNode.cpp.

partNode* partNode::parentNode (  )  const [inline]

Definition at line 227 of file partNode.h.

bool partNode::processed (  )  const [inline]

Definition at line 232 of file partNode.h.

void partNode::setBodyPartMemento ( KMail::Interface::BodyPartMemento *  memento  )  [inline]

Definition at line 235 of file partNode.h.

void partNode::setDwPart ( DwBodyPart *  part  )  [inline]

Definition at line 92 of file partNode.h.

void partNode::setEncryptionState ( KMMsgEncryptionState  state  )  [inline]

Definition at line 135 of file partNode.h.

void partNode::setFirstChild ( partNode *  child  )  [inline]

Definition at line 184 of file partNode.h.

void partNode::setFromAddress ( const QString &  address  )  [inline]

Definition at line 210 of file partNode.h.

void partNode::setMimePartTreeItem ( KMMimePartTreeItem *  item  )  [inline]

Definition at line 202 of file partNode.h.

void partNode::setNext ( partNode *  next  )  [inline]

Definition at line 176 of file partNode.h.

void partNode::setProcessed ( bool  processed,
bool  recurse 
) [inline]

Definition at line 192 of file partNode.h.

void partNode::setSignatureState ( KMMsgSignatureState  state  )  [inline]

Definition at line 148 of file partNode.h.

void partNode::setSubType ( int  subType  )  [inline]

Definition at line 111 of file partNode.h.

void partNode::setType ( int  type  )  [inline]

Definition at line 107 of file partNode.h.

KMMsgSignatureState partNode::signatureState (  )  const [inline]

Definition at line 151 of file partNode.h.

int partNode::subType (  )  const [inline]

Definition at line 121 of file partNode.h.

QByteArray partNode::subTypeString (  )  const

Definition at line 225 of file partNode.cpp.

const QString & partNode::trueFromAddress (  )  const

Definition at line 604 of file partNode.cpp.

int partNode::type (  )  const [inline]

Definition at line 115 of file partNode.h.

QByteArray partNode::typeString (  )  const

Definition at line 219 of file partNode.cpp.


The documentation for this class was generated from the following files:
  • partNode.h
  • partNode.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