MailCommon::MDNWarningJob Class
class MailCommon::MDNWarningJobThe MDNWarningJob class. More...
| Header: | #include <MailCommon/MDNWarningJob> |
| CMake: | find_package(KPim6MailCommon REQUIRED)target_link_libraries(mytarget PRIVATE KPim6::MailCommon) |
| Inherits: | QObject |
Public Functions
| MDNWarningJob(MailCommon::IKernel *kernel, QObject *parent = nullptr) | |
| virtual | ~MDNWarningJob() override |
| bool | canStart() const |
| const Akonadi::Item & | item() const |
| MailCommon::MDNWarningJob::ResponseMDN | response() const |
| KMime::MDN::SendingMode | sendingMode() const |
| void | setItem(const Akonadi::Item &newItem) |
| void | setResponse(MailCommon::MDNWarningJob::ResponseMDN newResponse) |
| void | setSendingMode(KMime::MDN::SendingMode newSendingMode) |
| void | start() |
Signals
| void | finished() |
Detailed Description
Author: Laurent Montel <montel@kde.org>
Member Function Documentation
[explicit] MDNWarningJob::MDNWarningJob(MailCommon::IKernel *kernel, QObject *parent = nullptr)
Constructs an MDN warning job.
kernel The mail kernel object parent The parent object
[override virtual noexcept] MDNWarningJob::~MDNWarningJob()
Destroys the MDN warning job.
bool MDNWarningJob::canStart() const
Checks if the job can be started.
Returns True if the job can start, false otherwise
[signal] void MDNWarningJob::finished()
Emitted when the MDN warning job has finished processing.
const Akonadi::Item &MDNWarningJob::item() const
Returns the Akonadi item being processed.
Returns The Akonadi item
See also setItem().
MailCommon::MDNWarningJob::ResponseMDN MDNWarningJob::response() const
Returns the MDN response.
Returns The MDN response
See also setResponse().
KMime::MDN::SendingMode MDNWarningJob::sendingMode() const
Returns the MDN sending mode.
Returns The sending mode
See also setSendingMode().
void MDNWarningJob::setItem(const Akonadi::Item &newItem)
Sets the Akonadi item to process.
newItem The Akonadi item
See also item().
void MDNWarningJob::setResponse(MailCommon::MDNWarningJob::ResponseMDN newResponse)
Sets the MDN response.
newResponse The MDN response to set
See also response().
void MDNWarningJob::setSendingMode(KMime::MDN::SendingMode newSendingMode)
Sets the MDN sending mode.
newSendingMode The sending mode to set
See also sendingMode().
void MDNWarningJob::start()
Starts the MDN warning process.