Akonadi

searchresulthandler.h
1 /*
2  * Copyright (C) 2013 Daniel Vrátil <[email protected]>
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17  *
18  */
19 
20 #ifndef AKONADI_SEARCHRESULTHANDLER_H_
21 #define AKONADI_SEARCHRESULTHANDLER_H_
22 
23 #include "handler.h"
24 
25 namespace Akonadi
26 {
27 namespace Server
28 {
29 
36 {
37 public:
38  SearchResultHandler(AkonadiServer &akonadi);
39  ~SearchResultHandler() override = default;
40 
41  bool parseStream() override;
42 
43 private:
44  bool fail(const QByteArray &searchId, const QString &error);
45 };
46 
47 } // namespace Server
48 } // namespace Akonadi
49 
50 #endif // AKONADI_SEARCHRESULTHANDLER_H_
The handler interfaces describes an entity capable of handling an AkonadiIMAP command.
Definition: handler.h:48
bool parseStream() override
Parse and handle the IMAP message using the streaming parser.
Helper integration between Akonadi and Qt.
Handler for the search_result command.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Fri Jun 5 2020 23:08:56 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.