Changeset View
Changeset View
Standalone View
Standalone View
Modules/base/info_wayland.h
Show All 23 Lines | |||||
24 | #include <QObject> | 24 | #include <QObject> | ||
25 | 25 | | |||
26 | class QTreeWidget; | 26 | class QTreeWidget; | ||
27 | class QThread; | 27 | class QThread; | ||
28 | 28 | | |||
29 | namespace KWayland { | 29 | namespace KWayland { | ||
30 | namespace Client { | 30 | namespace Client { | ||
31 | class ConnectionThread; | 31 | class ConnectionThread; | ||
32 | class Registry; | ||||
32 | } | 33 | } | ||
33 | } | 34 | } | ||
34 | 35 | | |||
35 | class WaylandModule : public QObject | 36 | class WaylandModule : public QObject | ||
36 | { | 37 | { | ||
37 | Q_OBJECT | 38 | Q_OBJECT | ||
38 | public: | 39 | public: | ||
39 | WaylandModule(QTreeWidget *lBox); | 40 | WaylandModule(QTreeWidget *lBox); | ||
40 | ~WaylandModule(); | 41 | ~WaylandModule(); | ||
41 | 42 | | |||
42 | private: | 43 | private: | ||
43 | void init(); | 44 | void init(); | ||
44 | QTreeWidget *m_tree; | 45 | QTreeWidget *m_tree; | ||
45 | QThread *m_thread; | 46 | QThread *m_thread; | ||
46 | KWayland::Client::ConnectionThread *m_connection; | 47 | KWayland::Client::ConnectionThread *m_connection; | ||
48 | KWayland::Client::Registry *m_registry = nullptr; | ||||
47 | }; | 49 | }; | ||
48 | 50 | | |||
49 | #endif // INFO_WAYLAND_H | 51 | #endif // INFO_WAYLAND_H |