kmail
partNode Class Reference
#include <partNode.h>
Public Member Functions | |
| partNode (bool deleteDwBodyPart, DwBodyPart *dwPart) | |
| ~partNode () | |
| void | adjustDefaultType (partNode *node) |
| QString | asHREF (const QString &place) const |
| KMail::Interface::BodyPartMemento * | bodyPartMemento (const QByteArray &which) 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 | isDisplayedEmbedded () const |
| bool | isFirstTextPart () const |
| bool | isHeuristicalAttachment () const |
| KMMimePartTreeItem * | mimePartTreeItem () const |
| KMMessagePart & | msgPart () const |
| partNode * | next (bool allowChildren=true) const |
| partNode * | nextSibling () const |
| int | nodeId () const |
| KMMsgEncryptionState | overallEncryptionState () const |
| KMMsgSignatureState | overallSignatureState () const |
| partNode * | parentNode () const |
| QByteArray | path () const |
| bool | processed () const |
| void | setBodyPartMemento (const QByteArray &which, KMail::Interface::BodyPartMemento *memento) |
| void | setDisplayedEmbedded (bool displayedEmbedded) |
| 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 partNode * | topLevelParent () const |
| int | totalChildCount () const |
| const QString & | trueFromAddress () const |
| int | type () const |
| QByteArray | typeString () const |
Static Public Member Functions | |
| static partNode * | fromMessage (const KMMessage *msg, KMReaderWin *win=0) |
Detailed Description
Definition at line 68 of file partNode.h.
Constructor & Destructor Documentation
| partNode::partNode | ( | bool | deleteDwBodyPart, | |
| DwBodyPart * | dwPart | |||
| ) |
Definition at line 141 of file partNode.cpp.
| partNode::~partNode | ( | ) |
Definition at line 164 of file partNode.cpp.
Member Function Documentation
| void partNode::adjustDefaultType | ( | partNode * | node | ) |
Definition at line 566 of file partNode.cpp.
Definition at line 713 of file partNode.cpp.
| KMail::Interface::BodyPartMemento * partNode::bodyPartMemento | ( | const QByteArray & | which | ) | const |
Definition at line 657 of file partNode.cpp.
| void partNode::buildObjectTree | ( | bool | processSiblings = true |
) |
Definition at line 208 of file partNode.cpp.
| int partNode::childCount | ( | ) | const |
Definition at line 257 of file partNode.cpp.
| QString partNode::contentTypeParameter | ( | const char * | name | ) | const |
Definition at line 273 of file partNode.cpp.
| void partNode::dump | ( | int | chars = 0 |
) | const |
Definition at line 182 of file partNode.cpp.
| DwBodyPart* partNode::dwPart | ( | ) | const [inline] |
Definition at line 92 of file partNode.h.
| const QByteArray & partNode::encodedBody | ( | ) |
Definition at line 195 of file partNode.cpp.
| KMMsgEncryptionState partNode::encryptionState | ( | ) | const [inline] |
Definition at line 142 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 487 of file partNode.cpp.
| partNode * partNode::findId | ( | int | id | ) |
Definition at line 406 of file partNode.cpp.
| partNode * partNode::findNodeForDwPart | ( | DwBodyPart * | part | ) |
Definition at line 460 of file partNode.cpp.
| partNode * partNode::findType | ( | int | type, | |
| int | subType, | |||
| bool | deep = true, |
|||
| bool | wide = true | |||
| ) |
Definition at line 445 of file partNode.cpp.
| partNode * partNode::findTypeNot | ( | int | type, | |
| int | subType, | |||
| bool | deep = true, |
|||
| bool | wide = true | |||
| ) |
Definition at line 472 of file partNode.cpp.
| partNode* partNode::firstChild | ( | ) | const [inline] |
Definition at line 239 of file partNode.h.
| partNode * partNode::fromMessage | ( | const KMMessage * | msg, | |
| KMReaderWin * | win = 0 | |||
| ) | [static] |
Definition at line 114 of file partNode.cpp.
| bool partNode::hasContentDispositionInline | ( | ) | const |
Definition at line 637 of file partNode.cpp.
| bool partNode::hasSubType | ( | int | subType | ) | [inline] |
Definition at line 135 of file partNode.h.
| bool partNode::hasType | ( | int | type | ) | [inline] |
Definition at line 131 of file partNode.h.
| bool partNode::isAttachment | ( | ) | const |
Definition at line 586 of file partNode.cpp.
| bool partNode::isDisplayedEmbedded | ( | ) | const |
Definition at line 703 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 618 of file partNode.cpp.
| bool partNode::isHeuristicalAttachment | ( | ) | const |
Definition at line 599 of file partNode.cpp.
| KMMimePartTreeItem* partNode::mimePartTreeItem | ( | ) | const [inline] |
Definition at line 215 of file partNode.h.
| KMMessagePart& partNode::msgPart | ( | void | ) | const [inline] |
Definition at line 101 of file partNode.h.
| partNode * partNode::next | ( | bool | allowChildren = true |
) | const |
Definition at line 606 of file partNode.cpp.
| partNode* partNode::nextSibling | ( | ) | const [inline] |
Definition at line 238 of file partNode.h.
| int partNode::nodeId | ( | ) | const |
Definition at line 395 of file partNode.cpp.
| KMMsgEncryptionState partNode::overallEncryptionState | ( | ) | const |
Definition at line 291 of file partNode.cpp.
| KMMsgSignatureState partNode::overallSignatureState | ( | ) | const |
Definition at line 334 of file partNode.cpp.
| partNode* partNode::parentNode | ( | ) | const [inline] |
Definition at line 237 of file partNode.h.
| QByteArray partNode::path | ( | ) | const |
Definition at line 376 of file partNode.cpp.
| bool partNode::processed | ( | ) | const [inline] |
Definition at line 243 of file partNode.h.
| void partNode::setBodyPartMemento | ( | const QByteArray & | which, | |
| KMail::Interface::BodyPartMemento * | memento | |||
| ) |
Definition at line 675 of file partNode.cpp.
| void partNode::setDisplayedEmbedded | ( | bool | displayedEmbedded | ) |
Definition at line 708 of file partNode.cpp.
| void partNode::setDwPart | ( | DwBodyPart * | part | ) | [inline] |
Definition at line 96 of file partNode.h.
| void partNode::setEncryptionState | ( | KMMsgEncryptionState | state | ) | [inline] |
Definition at line 139 of file partNode.h.
| void partNode::setFirstChild | ( | partNode * | child | ) | [inline] |
Definition at line 193 of file partNode.h.
| void partNode::setFromAddress | ( | const QString & | address | ) | [inline] |
Definition at line 219 of file partNode.h.
| void partNode::setMimePartTreeItem | ( | KMMimePartTreeItem * | item | ) | [inline] |
Definition at line 211 of file partNode.h.
| void partNode::setNext | ( | partNode * | next | ) | [inline] |
Definition at line 185 of file partNode.h.
| void partNode::setProcessed | ( | bool | processed, | |
| bool | recurse | |||
| ) | [inline] |
Definition at line 201 of file partNode.h.
| void partNode::setSignatureState | ( | KMMsgSignatureState | state | ) | [inline] |
Definition at line 152 of file partNode.h.
| void partNode::setSubType | ( | int | subType | ) | [inline] |
Definition at line 115 of file partNode.h.
| void partNode::setType | ( | int | type | ) | [inline] |
Definition at line 111 of file partNode.h.
| KMMsgSignatureState partNode::signatureState | ( | ) | const [inline] |
Definition at line 155 of file partNode.h.
| int partNode::subType | ( | ) | const [inline] |
Definition at line 125 of file partNode.h.
| QByteArray partNode::subTypeString | ( | ) | const |
Definition at line 244 of file partNode.cpp.
| const partNode * partNode::topLevelParent | ( | ) | const |
Definition at line 250 of file partNode.cpp.
| int partNode::totalChildCount | ( | ) | const |
Definition at line 264 of file partNode.cpp.
| const QString & partNode::trueFromAddress | ( | ) | const |
Definition at line 649 of file partNode.cpp.
| int partNode::type | ( | ) | const [inline] |
Definition at line 119 of file partNode.h.
| QByteArray partNode::typeString | ( | ) | const |
Definition at line 238 of file partNode.cpp.
The documentation for this class was generated from the following files:
KDE 4.4 API Reference