Akonadi

itemdeletehandler.h
1 /*
2  SPDX-FileCopyrightText: 2009 Volker Krause <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include "handler.h"
10 
11 namespace Akonadi
12 {
13 namespace Server
14 {
15 /**
16  @ingroup akonadi_server_handler
17 
18  Handler for the item deletion command.
19 
20  <h4>Semantics</h4>
21  Removes 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 remote identifier within the currently selected collection (RID)
25 */
26 class ItemDeleteHandler : public Handler
27 {
28 public:
29  ItemDeleteHandler(AkonadiServer &akonadi);
30  ~ItemDeleteHandler() override = default;
31 
32  bool parseStream() override;
33 };
34 
35 } // namespace Server
36 } // namespace Akonadi
37 
bool parseStream() override
Parse and handle the IMAP message using the streaming parser.
The handler interfaces describes an entity capable of handling an AkonadiIMAP command.
Definition: handler.h:39
Helper integration between Akonadi and Qt.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sat Jul 2 2022 06:41:48 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.