KPIMTextEdit::EmbeddedImage Struct

struct KPIMTextEdit::EmbeddedImage

Holds information about an embedded HTML image that will be useful for mail clients. More...

Header: #include <KPIMTextEdit/RichTextComposerImages>
CMake: find_package(KPim6TextEdit REQUIRED)
target_link_libraries(mytarget PRIVATE KPim6::TextEdit)

Public Variables

QString contentID
QByteArray image
QString imageName

Detailed Description

A list with all images can be retrieved with RichTextComposerImages::embeddedImages().

Member Variable Documentation

QString EmbeddedImage::contentID

The content id of the embedded image

QByteArray EmbeddedImage::image

The image, encoded as PNG with base64 encoding

QString EmbeddedImage::imageName

Name of the image as it is available as a resource in the editor