KPimTextEdit
richtextcomposerimages.h
75 void addImageHelper(const QString &imageName, const QImage &image, int width = -1, int height = -1);
99 [[nodiscard]] static QByteArray imageNamesToContentIds(const QByteArray &htmlBody, const ImageList &imageList);
101 [[nodiscard]] QSharedPointer<EmbeddedImage> createEmbeddedImage(const QImage &img, const QString &imageName) const;
Holds information about an embedded HTML image that will be useful for mail clients.
Definition richtextcomposerimages.h:22
QByteArray image
The image, encoded as PNG with base64 encoding.
Definition richtextcomposerimages.h:23
QString imageName
Name of the image as it is available as a resource in the editor.
Definition richtextcomposerimages.h:25
Holds information about an embedded HTML image that will be generally useful.
Definition richtextcomposerimages.h:34
QString name
The name of the image as it is available as a resource in the editor.
Definition richtextcomposerimages.h:36
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:55:51 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:55:51 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.