Akonadi

logouthandler.cpp
1 /***************************************************************************
2  * SPDX-FileCopyrightText: 2006 Till Adam <[email protected]> *
3  * *
4  * SPDX-License-Identifier: LGPL-2.0-or-later *
5  ***************************************************************************/
6 
7 #include "logouthandler.h"
8 
9 using namespace Akonadi;
10 using namespace Akonadi::Server;
11 
12 LogoutHandler::LogoutHandler(AkonadiServer &akonadi)
13  : Handler(akonadi)
14 {
15 }
16 
18 {
19  sendResponse<Protocol::LogoutResponse>();
20 
21  connection()->setState(LoggingOut);
22  return true;
23 }
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-2023 The KDE developers.
Generated on Thu Mar 30 2023 04:11:39 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.