Akonadi

controlmanager.h
1 /***************************************************************************
2  * SPDX-FileCopyrightText: 2007 Tobias Koenig <[email protected]> *
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  */
15 class ControlManager : public QObject
16 {
17  Q_OBJECT
18 
19 public:
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 
30 public Q_SLOTS:
31  /**
32  * Shutdown the Akonadi Control process cleanly.
33  */
34  void shutdown();
35 };
36 
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
~ControlManager() override
Destroys the control manager.
ControlManager(QObject *parent=nullptr)
Creates a new control manager.
The control manager provides a dbus method to shutdown the Akonadi Control process cleanly.
QObject * parent() const const
void shutdown()
Shutdown the Akonadi Control process cleanly.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sat Jul 2 2022 06:41:47 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.