Messagelib
attachmentfrommimecontentjob.cpp
17 class Q_DECL_HIDDEN MessageCore::AttachmentFromMimeContentJob::AttachmentFromMimeContentJobPrivate
23 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:32
~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:23
void emitResult()
void setMimeContent(const KMime::Content *content)
Sets the mime content to load the attachment from.
Definition: attachmentfrommimecontentjob.cpp:37
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Mar 26 2023 04:08:10 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Mar 26 2023 04:08:10 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.