MessageCore::AttachmentLoadJob Class
class MessageCore::AttachmentLoadJobA base class for jobs to load attachments from different sources. More...
| Header: | #include <MessageCore/AttachmentLoadJob> |
| CMake: | find_package(KPim6MessageCore REQUIRED)target_link_libraries(mytarget PRIVATE KPim6::MessageCore) |
| Inherited By: |
Public Functions
| AttachmentLoadJob(QObject *parent = nullptr) | |
| virtual | ~AttachmentLoadJob() override |
| AttachmentPart::Ptr | attachmentPart() const |
Reimplemented Public Functions
| virtual void | start() override |
Protected Functions
| void | setAttachmentPart(const AttachmentPart::Ptr &part) |
Protected Slots
| virtual void | doStart() = 0 |
Detailed Description
Author: Constantin Berzan <exit3219@gmail.com>
Member Function Documentation
[explicit] AttachmentLoadJob::AttachmentLoadJob(QObject *parent = nullptr)
Creates a new attachment load job.
parent The parent object.
[override virtual noexcept] AttachmentLoadJob::~AttachmentLoadJob()
Destroys the attachment load job.
AttachmentPart::Ptr AttachmentLoadJob::attachmentPart() const
Returns the loaded attachment.
See also setAttachmentPart().
[pure virtual protected slot] void AttachmentLoadJob::doStart()
[protected] void AttachmentLoadJob::setAttachmentPart(const AttachmentPart::Ptr &part)
Subclasses use this method to set the loaded part.
See also attachmentPart().
[override virtual] void AttachmentLoadJob::start()
Starts the attachment load job.