Debian Codegraph @

plugins/platforms/wayland/waylandcolormanagement/KisWaylandDebugInfoFetcher.h

raw symbols SCIP
1 /*
2 * SPDX-FileCopyrightText: 2025 Dmitry Kazakov <[email protected]>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 #ifndef KISWAYLANDDEBUGINFOFETCHER_H
7 #define KISWAYLANDDEBUGINFOFETCHER_H
8
9 #include <QObject>
10
11 class KisWaylandAPIColorManager;
12
13 class KisWaylandDebugInfoFetcher : public QObject
14 {
15 Q_OBJECT
16 public:
17 KisWaylandDebugInfoFetcher(QObject *parent = nullptr);
18 ~KisWaylandDebugInfoFetcher();
19
20 bool isReady() const;
21 QString report() const;
22
23 private:
24 void reinitialize();
25 QString generateReport();
26
27 Q_SIGNALS:
28 void sigDebugInfoReady(const QString &report);
29
30 private:
31 std::shared_ptr<KisWaylandAPIColorManager> m_waylandManager;
32 bool m_isReady {false};
33 QString m_report;
34 };
35
36 #endif /* KISWAYLANDDEBUGINFOFETCHER_H */