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 #ifndef AKONADI_DEBUGINTERFACE_H
8 #define AKONADI_DEBUGINTERFACE_H
9 
10 #include <QObject>
11 
12 namespace Akonadi
13 {
14 namespace Server
15 {
16 
17 class Tracer;
18 
22 class DebugInterface : public QObject
23 {
24  Q_OBJECT
25  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Akonadi.DebugInterface")
26 
27 public:
28  explicit DebugInterface(Tracer &tracer);
29 
30 public Q_SLOTS:
31  Q_SCRIPTABLE QString tracer() const;
32  Q_SCRIPTABLE void setTracer(const QString &tracer);
33 
34 private:
35  Tracer &m_tracer;
36 };
37 
38 } // namespace Server
39 } // namespace Akonadi
40 
41 #endif
Q_CLASSINFO(Name, Value)
The global tracer instance where all akonadi components can send their tracing information to...
Definition: tracer.h:40
Q_OBJECTQ_OBJECT
Helper integration between Akonadi and Qt.
Interface to configure and query debugging options.
Q_SLOTSQ_SLOTS
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Jul 8 2020 23:15:02 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.