Changeset View
Changeset View
Standalone View
Standalone View
plugins/qpa/integration.h
Show First 20 Lines • Show All 63 Lines • ▼ Show 20 Line(s) | 50 | public: | |||
---|---|---|---|---|---|
64 | void initialize() override; | 64 | void initialize() override; | ||
65 | QPlatformInputContext *inputContext() const override; | 65 | QPlatformInputContext *inputContext() const override; | ||
66 | 66 | | |||
67 | KWayland::Client::Compositor *compositor() const; | 67 | KWayland::Client::Compositor *compositor() const; | ||
68 | EGLDisplay eglDisplay() const; | 68 | EGLDisplay eglDisplay() const; | ||
69 | 69 | | |||
70 | private: | 70 | private: | ||
71 | void initScreens(); | 71 | void initScreens(); | ||
72 | void initEgl(); | | |||
73 | KWayland::Client::Shell *shell() const; | 72 | KWayland::Client::Shell *shell() const; | ||
74 | 73 | | |||
75 | QPlatformFontDatabase *m_fontDb; | 74 | QPlatformFontDatabase *m_fontDb; | ||
76 | QPlatformNativeInterface *m_nativeInterface; | 75 | QPlatformNativeInterface *m_nativeInterface; | ||
77 | KWayland::Client::Compositor *m_compositor = nullptr; | 76 | KWayland::Client::Compositor *m_compositor = nullptr; | ||
78 | KWayland::Client::Shell *m_shell = nullptr; | 77 | KWayland::Client::Shell *m_shell = nullptr; | ||
79 | EGLDisplay m_eglDisplay = EGL_NO_DISPLAY; | 78 | EGLDisplay m_eglDisplay = EGL_NO_DISPLAY; | ||
80 | Screen *m_dummyScreen = nullptr; | 79 | Screen *m_dummyScreen = nullptr; | ||
81 | QScopedPointer<QPlatformInputContext> m_inputContext; | 80 | QScopedPointer<QPlatformInputContext> m_inputContext; | ||
82 | QVector<Screen*> m_screens; | 81 | QVector<Screen*> m_screens; | ||
83 | }; | 82 | }; | ||
84 | 83 | | |||
85 | } | 84 | } | ||
86 | } | 85 | } | ||
87 | 86 | | |||
88 | #endif | 87 | #endif |