Krita Source Code Documentation
Loading...
Searching...
No Matches
KisWaylandDebugInfoFetcher.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2025 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6#ifndef KISWAYLANDDEBUGINFOFETCHER_H
7#define KISWAYLANDDEBUGINFOFETCHER_H
8
9#include <QObject>
10
12
13class KisWaylandDebugInfoFetcher : public QObject
14{
15 Q_OBJECT
16public:
17 KisWaylandDebugInfoFetcher(QObject *parent = nullptr);
19
20 bool isReady() const;
21 QString report() const;
22
23private:
24 void reinitialize();
25 QString generateReport();
26
27Q_SIGNALS:
28 void sigDebugInfoReady(const QString &report);
29
30private:
31 std::shared_ptr<KisWaylandAPIColorManager> m_waylandManager;
32 bool m_isReady {false};
33 QString m_report;
34};
35
36#endif /* KISWAYLANDDEBUGINFOFETCHER_H */
KisWaylandDebugInfoFetcher(QObject *parent=nullptr)
void sigDebugInfoReady(const QString &report)
std::shared_ptr< KisWaylandAPIColorManager > m_waylandManager