MailImporter::MessageStatus Class
class MailImporter::MessageStatusThe MessageStatus class. Author: Laurent Montel <montel@kde.org>. More...
| Header: | #include <MailImporter/MessageStatus> |
| CMake: | find_package(KPim6MailImporter REQUIRED)target_link_libraries(mytarget PRIVATE KPim6::MailImporter) |
Public Functions
| MessageStatus() | |
| ~MessageStatus() | |
| bool | isDeleted() const |
| bool | isForwarded() const |
| bool | isRead() const |
| bool | isReplied() const |
| void | setDeleted(bool state) |
| void | setForwarded(bool state) |
| void | setRead(bool state) |
| void | setReplied(bool state) |
Detailed Description
Member Function Documentation
MessageStatus::MessageStatus()
Constructs a MessageStatus.
[noexcept] MessageStatus::~MessageStatus()
Destructor for MessageStatus.
bool MessageStatus::isDeleted() const
Returns whether the message is deleted. Returns True if the message is deleted
bool MessageStatus::isForwarded() const
Returns whether the message has been forwarded. Returns True if the message has been forwarded
bool MessageStatus::isRead() const
Returns whether the message is read. Returns True if the message is read
bool MessageStatus::isReplied() const
Returns whether the message has been replied to. Returns True if the message has been replied to
void MessageStatus::setDeleted(bool state)
Sets the deleted status of the message. state True if the message is deleted
See also isDeleted().
void MessageStatus::setForwarded(bool state)
Sets the forwarded status of the message. state True if the message has been forwarded
See also isForwarded().
void MessageStatus::setRead(bool state)
Sets the read status of the message. state True if the message is read
See also isRead().
void MessageStatus::setReplied(bool state)
Sets the replied status of the message. state True if the message has been replied to
See also isReplied().