Messagelib
attachmentfrommimecontentjob.cpp
17class Q_DECL_HIDDEN MessageCore::AttachmentFromMimeContentJob::AttachmentFromMimeContentJobPrivate
23AttachmentFromMimeContentJob::AttachmentFromMimeContentJob(const Content *content, QObject *parent)
void emitResult()
AttachmentFromMimeContentJob(const KMime::Content *content, QObject *parent=nullptr)
Creates a new job.
Definition attachmentfrommimecontentjob.cpp:23
void setMimeContent(const KMime::Content *content)
Sets the mime content to load the attachment from.
Definition attachmentfrommimecontentjob.cpp:37
~AttachmentFromMimeContentJob() override
Destroys the job.
const KMime::Content * mimeContent() const
Returns the mime content to load the attachment from.
Definition attachmentfrommimecontentjob.cpp:32
A base class for jobs to load attachments from different sources.
Definition attachmentloadjob.h:23
AttachmentPart::Ptr attachmentPart() const
Returns the loaded attachment.
Definition attachmentloadjob.cpp:32
void setAttachmentPart(const AttachmentPart::Ptr &part)
Subclasses use this method to set the loaded part.
Definition attachmentloadjob.cpp:37
QSharedPointer< AttachmentPart > Ptr
Defines a pointer to an attachment object.
Definition attachmentpart.h:31
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:25 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:25 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.