MessageCore::AttachmentUpdateJob Class

class MessageCore::AttachmentUpdateJob

The AttachmentUpdateJob class Author: Laurent Montel <montel@kde.org>. More...

Header: #include <MessageCore/AttachmentUpdateJob>
CMake: find_package(KPim6MessageCore REQUIRED)
target_link_libraries(mytarget PRIVATE KPim6::MessageCore)

Public Functions

AttachmentUpdateJob(const AttachmentPart::Ptr &part, QObject *parent = nullptr)
virtual ~AttachmentUpdateJob() override
AttachmentPart::Ptr originalPart() const
AttachmentPart::Ptr updatedPart() const

Reimplemented Public Functions

virtual void start() override

Detailed Description

Member Function Documentation

[explicit] AttachmentUpdateJob::AttachmentUpdateJob(const AttachmentPart::Ptr &part, QObject *parent = nullptr)

Constructs an attachment update job.

[override virtual noexcept] AttachmentUpdateJob::~AttachmentUpdateJob()

Destroys the attachment update job.

AttachmentPart::Ptr AttachmentUpdateJob::originalPart() const

Returns the original attachment part.

[override virtual] void AttachmentUpdateJob::start()

Starts the attachment update job.

AttachmentPart::Ptr AttachmentUpdateJob::updatedPart() const

Returns the updated attachment part.