Akonadi

logouthandler.cpp
1/***************************************************************************
2 * SPDX-FileCopyrightText: 2006 Till Adam <adam@kde.org> *
3 * *
4 * SPDX-License-Identifier: LGPL-2.0-or-later *
5 ***************************************************************************/
6
7#include "logouthandler.h"
8
9using namespace Akonadi;
10using namespace Akonadi::Server;
11
12LogoutHandler::LogoutHandler(AkonadiServer &akonadi)
13 : Handler(akonadi)
14{
15}
16
18{
19 sendResponse<Protocol::LogoutResponse>();
20
21 connection()->setState(LoggingOut);
22 return true;
23}
The handler interfaces describes an entity capable of handling an AkonadiIMAP command.
Definition handler.h:32
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 22 2024 12:03:34 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.