Akonadi::MoveCommand Class

class Akonadi::MoveCommand

The MoveCommand class. More...

Header: #include <Akonadi/MoveCommand>
CMake: find_package(KPim6AkonadiMime REQUIRED)
target_link_libraries(mytarget PRIVATE KPim6::AkonadiMime)
Inherits: Akonadi::CommandBase

Public Functions

MoveCommand(const Akonadi::Collection &destFolder, const Akonadi::Item::List &msgList, QObject *parent = nullptr)
virtual ~MoveCommand() override

Reimplemented Public Functions

virtual void execute() override

Detailed Description

Member Function Documentation

MoveCommand::MoveCommand(const Akonadi::Collection &destFolder, const Akonadi::Item::List &msgList, QObject *parent = nullptr)

Creates a new move command. destFolder The destination folder for the messages msgList The list of messages to move parent The parent object

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

Destroys the move command.

[override virtual] void MoveCommand::execute()

Executes the move command.