MessageCore::ImageCollector

Search for usage in LXR

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 mutz@.nosp@m.kde..nosp@m.org
Torgny Nyblom nyblo.nosp@m.m@kd.nosp@m.e.org
Todo
: Make it a simple static method?!?

Definition at line 32 of file imagecollector.h.

Constructor & Destructor Documentation

◆ ImageCollector()

MessageCore::ImageCollector::ImageCollector ( )

Creates a new image collector.

Definition at line 22 of file imagecollector.cpp.

◆ ~ImageCollector()

MessageCore::ImageCollector::~ImageCollector ( )
default

Destroys the image collector.

Member Function Documentation

◆ collectImagesFrom()

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

Starts collecting the images.

Parameters
contentThe email content that contains the images.

Definition at line 29 of file imagecollector.cpp.

◆ images()

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

Returns the collected images.

Definition at line 49 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-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:05:11 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.