File indexing completed on 2024-06-23 05:06:34
0001 /*************************************************************************** 0002 * SPDX-FileCopyrightText: 2007 Tobias Koenig <tokoe@kde.org> * 0003 * * 0004 * SPDX-License-Identifier: LGPL-2.0-or-later * 0005 ***************************************************************************/ 0006 0007 #pragma once 0008 0009 #include <QObject> 0010 0011 /** 0012 * The control manager provides a dbus method to shutdown 0013 * the Akonadi Control process cleanly. 0014 */ 0015 class ControlManager : public QObject 0016 { 0017 Q_OBJECT 0018 0019 public: 0020 /** 0021 * Creates a new control manager. 0022 */ 0023 explicit ControlManager(QObject *parent = nullptr); 0024 0025 /** 0026 * Destroys the control manager. 0027 */ 0028 ~ControlManager() override; 0029 0030 public Q_SLOTS: 0031 /** 0032 * Shutdown the Akonadi Control process cleanly. 0033 */ 0034 void shutdown(); 0035 };