Akonadi

searchresulthandler.h
1 /*
2  * SPDX-FileCopyrightText: 2013 Daniel Vr├ítil <[email protected]>
3  *
4  * SPDX-License-Identifier: LGPL-2.1-or-later
5  *
6  */
7 
8 #pragma once
9 
10 #include "handler.h"
11 
12 namespace Akonadi
13 {
14 namespace Server
15 {
16 /**
17  @ingroup akonadi_server_handler
18 
19  Handler for the search_result command
20 */
22 {
23 public:
24  SearchResultHandler(AkonadiServer &akonadi);
25  ~SearchResultHandler() override = default;
26 
27  bool parseStream() override;
28 
29 private:
30  bool fail(const QByteArray &searchId, const QString &error);
31 };
32 
33 } // namespace Server
34 } // namespace Akonadi
35 
The handler interfaces describes an entity capable of handling an AkonadiIMAP command.
Definition: handler.h:39
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-2022 The KDE developers.
Generated on Mon Sep 26 2022 04:03:28 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.