Akonadi

itemmovehandler.h
1/*
2 SPDX-FileCopyrightText: 2009 Volker Krause <vkrause@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "handler.h"
10
11namespace Akonadi
12{
13namespace Server
14{
15/**
16 @ingroup akonadi_server_handler
17
18 Handler for the item move command.
19
20 <h4>Semantics</h4>
21 Moves the selected items. Item selection can happen within the usual three scopes:
22 - based on a uid set relative to the currently selected collection
23 - based on a global uid set (UID)
24 - based on a list of remote identifiers within the currently selected collection (RID)
25
26 Destination is a collection id.
27*/
29{
30public:
31 ItemMoveHandler(AkonadiServer &akonadi);
32 ~ItemMoveHandler() override = default;
33
34 bool parseStream() override;
35
36private:
37 void itemsRetrieved(const QList<qint64> &ids);
38
39 Collection mDestination;
40};
41
42} // namespace Server
43} // namespace Akonadi
Represents a collection of PIM items.
Definition collection.h:62
The handler interfaces describes an entity capable of handling an AkonadiIMAP command.
Definition handler.h:32
Handler for the item move command.
bool parseStream() override
Parse and handle the IMAP message using the streaming parser.
Helper integration between Akonadi and Qt.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:49:12 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.