Akonadi

controlmanager.cpp
1/***************************************************************************
2 * SPDX-FileCopyrightText: 2007 Tobias Koenig <tokoe@kde.org> *
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"
13using namespace std::chrono_literals;
15 : QObject(parent)
16{
17 new ControlManagerAdaptor(this);
18 QDBusConnection::sessionBus().registerObject(QStringLiteral("/ControlManager"), this);
19}
20
24
29
30#include "moc_controlmanager.cpp"
~ControlManager() override
Destroys the control manager.
void shutdown()
Shutdown the Akonadi Control process cleanly.
ControlManager(QObject *parent=nullptr)
Creates a new control manager.
QCoreApplication * instance()
bool registerObject(const QString &path, QObject *object, RegisterOptions options)
QDBusConnection sessionBus()
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.