Akonadi

controlmanager.cpp
1 /***************************************************************************
2  * SPDX-FileCopyrightText: 2007 Tobias Koenig <[email protected]> *
3  * *
4  * SPDX-License-Identifier: LGPL-2.0-or-later *
5  ***************************************************************************/
6 
7 #include "controlmanager.h"
8 
9 #include <QCoreApplication>
10 #include <QTimer>
11 
12 #include "controlmanageradaptor.h"
13 using namespace std::chrono_literals;
15  : QObject(parent)
16 {
17  new ControlManagerAdaptor(this);
18  QDBusConnection::sessionBus().registerObject(QStringLiteral("/ControlManager"), this);
19 }
20 
22 {
23 }
24 
26 {
28 }
bool registerObject(const QString &path, QObject *object, QDBusConnection::RegisterOptions options)
QDBusConnection sessionBus()
QCoreApplication * instance()
~ControlManager() override
Destroys the control manager.
ControlManager(QObject *parent=nullptr)
Creates a new control manager.
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 Tue Dec 6 2022 03:53:32 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.