Akonadi

controlmanager.h
1/***************************************************************************
2 * SPDX-FileCopyrightText: 2007 Tobias Koenig <tokoe@kde.org> *
3 * *
4 * SPDX-License-Identifier: LGPL-2.0-or-later *
5 ***************************************************************************/
6
7#pragma once
8
9#include <QObject>
10
11/**
12 * The control manager provides a dbus method to shutdown
13 * the Akonadi Control process cleanly.
14 */
15class ControlManager : public QObject
16{
18
19public:
20 /**
21 * Creates a new control manager.
22 */
23 explicit ControlManager(QObject *parent = nullptr);
24
25 /**
26 * Destroys the control manager.
27 */
28 ~ControlManager() override;
29
30public Q_SLOTS:
31 /**
32 * Shutdown the Akonadi Control process cleanly.
33 */
34 void shutdown();
35};
The control manager provides a dbus method to shutdown the Akonadi Control process cleanly.
~ControlManager() override
Destroys the control manager.
void shutdown()
Shutdown the Akonadi Control process cleanly.
ControlManager(QObject *parent=nullptr)
Creates a new control manager.
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:03:33 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.