Akonadi

resourcemanager.h
1/*
2 SPDX-FileCopyrightText: 2006 Volker Krause <vkrause@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8
9#include <QObject>
10
11namespace Akonadi
12{
13namespace Server
14{
15class Tracer;
16
17/**
18 Listens to agent instance added/removed signals and creates/removes
19 the corresponding data in the database.
20*/
22{
24
25public:
26 explicit ResourceManager(Tracer &tracer);
27
28 QStringList resourceInstances() const;
29
30public Q_SLOTS:
31 void addResourceInstance(const QString &name, const QStringList &capabilities);
32 void removeResourceInstance(const QString &name);
33
34private:
35 Tracer &mTracer;
36};
37
38} // namespace Server
39} // namespace Akonadi
Listens to agent instance added/removed signals and creates/removes the corresponding data in the dat...
The global tracer instance where all akonadi components can send their tracing information to.
Definition tracer.h:38
Helper integration between Akonadi and Qt.
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:08:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.