Akonadi

debuginterface.h
1/*
2 SPDX-FileCopyrightText: 2008 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 * Interface to configure and query debugging options.
19 */
20class DebugInterface : public QObject
21{
23 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Akonadi.DebugInterface")
24
25public:
26 explicit DebugInterface(Tracer &tracer);
27
28public Q_SLOTS:
29 Q_SCRIPTABLE QString tracer() const;
30 Q_SCRIPTABLE void setTracer(const QString &tracer);
31
32private:
33 Tracer &m_tracer;
34};
35
36} // namespace Server
37} // namespace Akonadi
Interface to configure and query debugging options.
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_CLASSINFO(Name, Value)
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.