kmail
KMail::BodyVisitor Class Reference
Inheritance diagram for KMail::BodyVisitor:

Detailed Description
Definition at line 44 of file bodyvisitor.h.
Public Member Functions | |
BodyVisitor () | |
virtual | ~BodyVisitor () |
void | visit (KMMessagePart *part) |
void | visit (QPtrList< KMMessagePart > &list) |
QPtrList< KMMessagePart > | partsToLoad () |
virtual bool | addPartToList (KMMessagePart *part)=0 |
Static Protected Member Functions | |
static bool | parentNeedsLoading (KMMessagePart *part) |
Protected Attributes | |
QPtrList< KMMessagePart > | mParts |
QStringList | mBasicList |
Member Function Documentation
void KMail::BodyVisitor::visit | ( | KMMessagePart * | part | ) |
QPtrList< KMMessagePart > KMail::BodyVisitor::partsToLoad | ( | ) |
virtual bool KMail::BodyVisitor::addPartToList | ( | KMMessagePart * | part | ) | [pure virtual] |
Decides whether a part should be loaded.
This needs to be implemented by a subclass
Implemented in KMail::BodyVisitorSmart, KMail::BodyVisitorInline, and KMail::BodyVisitorHidden.
bool KMail::BodyVisitor::parentNeedsLoading | ( | KMMessagePart * | part | ) | [static, protected] |
Checks if one of the parents needs loaded children This is e.g.
needed for multipart/signed where all parts have to be loaded
Definition at line 138 of file bodyvisitor.cpp.
The documentation for this class was generated from the following files: