kmail
partNode Class Reference
#include <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 QCString & | encodedBody () |
KMMsgEncryptionState | encryptionState () const |
void | fillMimePartTree (KMMimePartTreeItem *parentItem, KMMimePartTree *mimePartTree, QString labelDescr=QString::null, QString labelCntType=QString::null, QString labelEncoding=QString::null, 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 |
QCString | subTypeString () const |
const QString & | trueFromAddress () const |
int | type () const |
QCString | typeString () const |
~partNode () | |
Static Public Member Functions | |
static partNode * | fromMessage (const KMMessage *msg) |
Detailed Description
Definition at line 63 of file partNode.h.
Constructor & Destructor Documentation
partNode::partNode | ( | DwBodyPart * | dwPart, | |
int | explicitType = DwMime::kTypeUnknown , |
|||
int | explicitSubType = DwMime::kSubtypeUnknown , |
|||
bool | deleteDwBodyPart = false | |||
) |
Definition at line 72 of file partNode.cpp.
partNode::partNode | ( | bool | deleteDwBodyPart, | |
DwBodyPart * | dwPart | |||
) |
Definition at line 135 of file partNode.cpp.
partNode::~partNode | ( | ) |
Definition at line 156 of file partNode.cpp.
Member Function Documentation
void partNode::adjustDefaultType | ( | partNode * | node | ) |
Definition at line 523 of file partNode.cpp.
KMail::Interface::BodyPartMemento* partNode::bodyPartMemento | ( | ) | const [inline] |
Definition at line 233 of file partNode.h.
void partNode::buildObjectTree | ( | bool | processSiblings = true |
) |
Definition at line 191 of file partNode.cpp.
int partNode::childCount | ( | ) | const |
Definition at line 233 of file partNode.cpp.
QString partNode::contentTypeParameter | ( | const char * | name | ) | const |
Definition at line 240 of file partNode.cpp.
void partNode::dump | ( | int | chars = 0 |
) | const |
Definition at line 166 of file partNode.cpp.
DwBodyPart* partNode::dwPart | ( | ) | const [inline] |
Definition at line 87 of file partNode.h.
const QCString & partNode::encodedBody | ( | ) |
Definition at line 178 of file partNode.cpp.
KMMsgEncryptionState partNode::encryptionState | ( | ) | const [inline] |
Definition at line 137 of file partNode.h.
void partNode::fillMimePartTree | ( | KMMimePartTreeItem * | parentItem, | |
KMMimePartTree * | mimePartTree, | |||
QString | labelDescr = QString::null , |
|||
QString | labelCntType = QString::null , |
|||
QString | labelEncoding = QString::null , |
|||
KIO::filesize_t | size = 0 , |
|||
bool | revertOrder = false | |||
) |
Definition at line 442 of file partNode.cpp.
partNode * partNode::findId | ( | int | id | ) |
Definition at line 354 of file partNode.cpp.
partNode * partNode::findNodeForDwPart | ( | DwBodyPart * | part | ) |
Definition at line 415 of file partNode.cpp.
partNode * partNode::findType | ( | int | type, | |
int | subType, | |||
bool | deep = true , |
|||
bool | wide = true | |||
) |
Definition at line 393 of file partNode.cpp.
partNode * partNode::findTypeNot | ( | int | type, | |
int | subType, | |||
bool | deep = true , |
|||
bool | wide = true | |||
) |
Definition at line 427 of file partNode.cpp.
partNode* partNode::firstChild | ( | ) | const [inline] |
Definition at line 228 of file partNode.h.
Definition at line 108 of file partNode.cpp.
bool partNode::hasContentDispositionInline | ( | ) | const |
Definition at line 594 of file partNode.cpp.
bool partNode::hasSubType | ( | int | subType | ) | [inline] |
Definition at line 130 of file partNode.h.
bool partNode::hasType | ( | int | type | ) | [inline] |
Definition at line 126 of file partNode.h.
bool partNode::isAttachment | ( | ) | const |
Definition at line 543 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 575 of file partNode.cpp.
bool partNode::isHeuristicalAttachment | ( | ) | const |
Definition at line 556 of file partNode.cpp.
KMMimePartTreeItem* partNode::mimePartTreeItem | ( | ) | [inline] |
Definition at line 205 of file partNode.h.
KMMessagePart& partNode::msgPart | ( | void | ) | const [inline] |
Definition at line 96 of file partNode.h.
partNode * partNode::next | ( | bool | allowChildren = true |
) | const |
Definition at line 563 of file partNode.cpp.
partNode* partNode::nextSibling | ( | ) | const [inline] |
Definition at line 227 of file partNode.h.
int partNode::nodeId | ( | ) | const |
Definition at line 344 of file partNode.cpp.
KMMsgEncryptionState partNode::overallEncryptionState | ( | ) | const |
Definition at line 258 of file partNode.cpp.
KMMsgSignatureState partNode::overallSignatureState | ( | ) | const |
Definition at line 301 of file partNode.cpp.
partNode* partNode::parentNode | ( | ) | const [inline] |
Definition at line 226 of file partNode.h.
bool partNode::processed | ( | ) | const [inline] |
Definition at line 231 of file partNode.h.
void partNode::setBodyPartMemento | ( | KMail::Interface::BodyPartMemento * | memento | ) | [inline] |
Definition at line 234 of file partNode.h.
void partNode::setDwPart | ( | DwBodyPart * | part | ) | [inline] |
Definition at line 91 of file partNode.h.
void partNode::setEncryptionState | ( | KMMsgEncryptionState | state | ) | [inline] |
Definition at line 134 of file partNode.h.
void partNode::setFirstChild | ( | partNode * | child | ) | [inline] |
Definition at line 183 of file partNode.h.
void partNode::setFromAddress | ( | const QString & | address | ) | [inline] |
Definition at line 209 of file partNode.h.
void partNode::setMimePartTreeItem | ( | KMMimePartTreeItem * | item | ) | [inline] |
Definition at line 201 of file partNode.h.
void partNode::setNext | ( | partNode * | next | ) | [inline] |
Definition at line 175 of file partNode.h.
void partNode::setProcessed | ( | bool | processed, | |
bool | recurse | |||
) | [inline] |
Definition at line 191 of file partNode.h.
void partNode::setSignatureState | ( | KMMsgSignatureState | state | ) | [inline] |
Definition at line 147 of file partNode.h.
void partNode::setSubType | ( | int | subType | ) | [inline] |
Definition at line 110 of file partNode.h.
void partNode::setType | ( | int | type | ) | [inline] |
Definition at line 106 of file partNode.h.
KMMsgSignatureState partNode::signatureState | ( | ) | const [inline] |
Definition at line 150 of file partNode.h.
int partNode::subType | ( | ) | const [inline] |
Definition at line 120 of file partNode.h.
QCString partNode::subTypeString | ( | ) | const |
Definition at line 227 of file partNode.cpp.
const QString & partNode::trueFromAddress | ( | ) | const |
Definition at line 606 of file partNode.cpp.
int partNode::type | ( | void | ) | const [inline] |
Definition at line 114 of file partNode.h.
QCString partNode::typeString | ( | ) | const |
Definition at line 221 of file partNode.cpp.
The documentation for this class was generated from the following files: