kmail
KMail::BodyVisitor Class Reference
#include <bodyvisitor.h>
Inheritance diagram for KMail::BodyVisitor:
Public Member Functions | |
virtual bool | addPartToList (KMMessagePart *part)=0 |
BodyVisitor () | |
QPtrList< KMMessagePart > | partsToLoad () |
void | visit (QPtrList< KMMessagePart > &list) |
void | visit (KMMessagePart *part) |
virtual | ~BodyVisitor () |
Static Protected Member Functions | |
static bool | parentNeedsLoading (KMMessagePart *part) |
Protected Attributes | |
QStringList | mBasicList |
QPtrList< KMMessagePart > | mParts |
Detailed Description
Definition at line 44 of file bodyvisitor.h.
Constructor & Destructor Documentation
KMail::BodyVisitor::BodyVisitor | ( | ) |
Definition at line 33 of file bodyvisitor.cpp.
KMail::BodyVisitor::~BodyVisitor | ( | ) | [virtual] |
Definition at line 53 of file bodyvisitor.cpp.
Member Function Documentation
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 140 of file bodyvisitor.cpp.
QPtrList< KMMessagePart > KMail::BodyVisitor::partsToLoad | ( | ) |
void KMail::BodyVisitor::visit | ( | QPtrList< KMMessagePart > & | list | ) |
Definition at line 64 of file bodyvisitor.cpp.
void KMail::BodyVisitor::visit | ( | KMMessagePart * | part | ) |
Member Data Documentation
QStringList KMail::BodyVisitor::mBasicList [protected] |
Definition at line 70 of file bodyvisitor.h.
QPtrList<KMMessagePart> KMail::BodyVisitor::mParts [protected] |
Definition at line 69 of file bodyvisitor.h.
The documentation for this class was generated from the following files: