MessageCore::ImageCollector

MessageCore::ImageCollector Class Reference

#include <imagecollector.h>

Public Member Functions

 ImageCollector ()
 
 ~ImageCollector ()
 
void collectImagesFrom (KMime::Content *content)
 
const std::vector< KMime::Content * > & images () const
 

Detailed Description

A helper class to collect the embedded images of a email.

Author
Marc Mutz [email protected][email protected]kde.[email protected]org
Torgny Nyblom nyblo[email protected][email protected][email protected]e.org
Todo:
: Make it a simple static method?!?

Definition at line 31 of file imagecollector.h.

Constructor & Destructor Documentation

MessageCore::ImageCollector::ImageCollector ( )

Creates a new image collector.

Definition at line 42 of file imagecollector.cpp.

MessageCore::ImageCollector::~ImageCollector ( )

Destroys the image collector.

Definition at line 47 of file imagecollector.cpp.

Member Function Documentation

void MessageCore::ImageCollector::collectImagesFrom ( KMime::Content content)

Starts collecting the images.

Parameters
contentThe email content that contains the images.

Definition at line 52 of file imagecollector.cpp.

const std::vector< KMime::Content * > & MessageCore::ImageCollector::images ( ) const

Returns the collected images.

Definition at line 81 of file imagecollector.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Aug 12 2020 23:12:58 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.