Messagelib
attachmentfrommimecontentjob.cpp
18 class Q_DECL_HIDDEN MessageCore::AttachmentFromMimeContentJob::AttachmentFromMimeContentJobPrivate
24 AttachmentFromMimeContentJob::AttachmentFromMimeContentJob(const Content *content, QObject *parent)
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
const KMime::Content * mimeContent() const
Returns the mime content to load the attachment from.
Definition: attachmentfrommimecontentjob.cpp:33
~AttachmentFromMimeContentJob() override
Destroys the job.
QSharedPointer< AttachmentPart > Ptr
Defines a pointer to an attachment object.
Definition: attachmentpart.h:31
A base class for jobs to load attachments from different sources.
Definition: attachmentloadjob.h:22
AttachmentFromMimeContentJob(const KMime::Content *content, QObject *parent=nullptr)
Creates a new job.
Definition: attachmentfrommimecontentjob.cpp:24
void emitResult()
void setMimeContent(const KMime::Content *content)
Sets the mime content to load the attachment from.
Definition: attachmentfrommimecontentjob.cpp:38
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Wed May 25 2022 03:55:39 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Wed May 25 2022 03:55:39 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.