Akonadi::MarkAsCommand Class
class Akonadi::MarkAsCommandCommand to mark messages with a specific status. More...
| Header: | #include <Akonadi/MarkAsCommand> |
| CMake: | find_package(KPim6AkonadiMime REQUIRED)target_link_libraries(mytarget PRIVATE KPim6::AkonadiMime) |
| Inherits: | Akonadi::CommandBase |
Public Functions
| MarkAsCommand(Akonadi::MessageStatus targetStatus, const Akonadi::Item::List &msgList, bool invert = false, QObject *parent = nullptr) | |
| MarkAsCommand(Akonadi::MessageStatus targetStatus, const Akonadi::Collection::List &folders, bool invert = false, bool recursive = false, QObject *parent = nullptr) | |
| virtual | ~MarkAsCommand() override |
Reimplemented Public Functions
| virtual void | execute() override |
Detailed Description
Member Function Documentation
MarkAsCommand::MarkAsCommand(Akonadi::MessageStatus targetStatus, const Akonadi::Item::List &msgList, bool invert = false, QObject *parent = nullptr)
Creates a new mark as command for a list of items. targetStatus The status to mark items with msgList The list of items to mark invert Whether to invert the status operation parent The parent object
MarkAsCommand::MarkAsCommand(Akonadi::MessageStatus targetStatus, const Akonadi::Collection::List &folders, bool invert = false, bool recursive = false, QObject *parent = nullptr)
Creates a new mark as command for items in collections. targetStatus The status to mark items with folders The list of collections to process invert Whether to invert the status operation recursive Whether to process subfolders recursively parent The parent object
[override virtual noexcept] MarkAsCommand::~MarkAsCommand()
Destroys the mark as command.
[override virtual] void MarkAsCommand::execute()
Executes the mark as command.