Changeset View
Changeset View
Standalone View
Standalone View
src/windowsystem/waylandintegration.h
Show All 16 Lines | |||||
17 | * | 17 | * | ||
18 | * You should have received a copy of the GNU Lesser General Public | 18 | * You should have received a copy of the GNU Lesser General Public | ||
19 | * License along with this library. If not, see <http://www.gnu.org/licenses/>. | 19 | * License along with this library. If not, see <http://www.gnu.org/licenses/>. | ||
20 | */ | 20 | */ | ||
21 | #ifndef WAYLANDINTEGRATION_H | 21 | #ifndef WAYLANDINTEGRATION_H | ||
22 | #define WAYLANDINTEGRATION_H | 22 | #define WAYLANDINTEGRATION_H | ||
23 | #include <KWindowSystem/private/kwindoweffects_p.h> | 23 | #include <KWindowSystem/private/kwindoweffects_p.h> | ||
24 | 24 | | |||
25 | #include <QPointer> | ||||
25 | 26 | | |||
26 | namespace KWayland | 27 | namespace KWayland | ||
27 | { | 28 | { | ||
28 | namespace Client | 29 | namespace Client | ||
29 | { | 30 | { | ||
30 | class BlurManager; | 31 | class BlurManager; | ||
31 | class ContrastManager; | 32 | class ContrastManager; | ||
32 | class Compositor; | 33 | class Compositor; | ||
Show All 18 Lines | 44 | public: | |||
51 | KWayland::Client::BlurManager *waylandBlurManager(); | 52 | KWayland::Client::BlurManager *waylandBlurManager(); | ||
52 | KWayland::Client::ContrastManager *waylandContrastManager(); | 53 | KWayland::Client::ContrastManager *waylandContrastManager(); | ||
53 | KWayland::Client::SlideManager *waylandSlideManager(); | 54 | KWayland::Client::SlideManager *waylandSlideManager(); | ||
54 | KWayland::Client::Compositor *waylandCompositor() const; | 55 | KWayland::Client::Compositor *waylandCompositor() const; | ||
55 | KWayland::Client::PlasmaWindowManagement *plasmaWindowManagement(); | 56 | KWayland::Client::PlasmaWindowManagement *plasmaWindowManagement(); | ||
56 | KWayland::Client::PlasmaShell *waylandPlasmaShell(); | 57 | KWayland::Client::PlasmaShell *waylandPlasmaShell(); | ||
57 | 58 | | |||
58 | private: | 59 | private: | ||
59 | KWayland::Client::ConnectionThread *m_waylandConnection = nullptr; | 60 | QPointer<KWayland::Client::ConnectionThread> m_waylandConnection; | ||
60 | KWayland::Client::BlurManager *m_waylandBlurManager = nullptr; | 61 | QPointer<KWayland::Client::Compositor> m_waylandCompositor; | ||
61 | KWayland::Client::ContrastManager *m_waylandContrastManager = nullptr; | 62 | QPointer<KWayland::Client::Registry> m_registry; | ||
62 | KWayland::Client::SlideManager *m_waylandSlideManager = nullptr; | 63 | QPointer<KWayland::Client::BlurManager> m_waylandBlurManager; | ||
63 | KWayland::Client::Compositor *m_waylandCompositor = nullptr; | 64 | QPointer<KWayland::Client::ContrastManager> m_waylandContrastManager; | ||
64 | KWayland::Client::PlasmaWindowManagement *m_wm = nullptr; | 65 | QPointer<KWayland::Client::SlideManager> m_waylandSlideManager; | ||
65 | KWayland::Client::PlasmaShell *m_waylandPlasmaShell = nullptr; | 66 | QPointer<KWayland::Client::PlasmaWindowManagement> m_wm; | ||
66 | KWayland::Client::Registry *m_registry = nullptr; | 67 | QPointer<KWayland::Client::PlasmaShell> m_waylandPlasmaShell; | ||
67 | }; | 68 | }; | ||
68 | 69 | | |||
69 | #endif | 70 | #endif |