Akonadi Mime

movecommand.h
1/*
2 SPDX-FileCopyrightText: 2010 Klarälvdalens Datakonsult AB, a KDAB Group company, <info@kdab.com>
3 SPDX-FileCopyrightText: 2010 Andras Mantia <andras@kdab.com>
4
5 SPDX-License-Identifier: LGPL-2.1-or-later
6*/
7
8#pragma once
9
10#include "akonadi-mime_export.h"
11#include "commandbase.h"
12#include <Akonadi/Collection>
13#include <Akonadi/Item>
14
15#include <memory>
16
17class KJob;
18namespace Akonadi
19{
20class MoveCommandPrivate;
21class AKONADI_MIME_EXPORT MoveCommand : public CommandBase
22{
23 Q_OBJECT
24public:
25 MoveCommand(const Akonadi::Collection &destFolder, const Akonadi::Item::List &msgList, QObject *parent = nullptr);
26 ~MoveCommand() override;
27 void execute() override;
28
29private:
30 AKONADI_MIME_NO_EXPORT void slotMoveResult(KJob *job);
31 std::unique_ptr<MoveCommandPrivate> const d;
32};
33}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:19:28 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.