Akonadi

debuginterface.h
1 /*
2  SPDX-FileCopyrightText: 2008 Volker Krause <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include <QObject>
10 
11 namespace Akonadi
12 {
13 namespace Server
14 {
15 class Tracer;
16 
17 /**
18  * Interface to configure and query debugging options.
19  */
20 class DebugInterface : public QObject
21 {
22  Q_OBJECT
23  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Akonadi.DebugInterface")
24 
25 public:
26  explicit DebugInterface(Tracer &tracer);
27 
28 public Q_SLOTS:
29  Q_SCRIPTABLE QString tracer() const;
30  Q_SCRIPTABLE void setTracer(const QString &tracer);
31 
32 private:
33  Tracer &m_tracer;
34 };
35 
36 } // namespace Server
37 } // namespace Akonadi
38 
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
Q_CLASSINFO(Name, Value)
The global tracer instance where all akonadi components can send their tracing information to.
Definition: tracer.h:37
Interface to configure and query debugging options.
Helper integration between Akonadi and Qt.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Mon Jun 27 2022 04:01:06 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.