Changeset View
Changeset View
Standalone View
Standalone View
autotests/mock_effectshandler.h
Show First 20 Lines • Show All 125 Lines • ▼ Show 20 Line(s) | 29 | public: | |||
---|---|---|---|---|---|
126 | void doneOpenGLContextCurrent() override {} | 126 | void doneOpenGLContextCurrent() override {} | ||
127 | void drawWindow(KWin::EffectWindow *, int, const QRegion &, KWin::WindowPaintData &) override {} | 127 | void drawWindow(KWin::EffectWindow *, int, const QRegion &, KWin::WindowPaintData &) override {} | ||
128 | KWin::EffectFrame *effectFrame(KWin::EffectFrameStyle, bool, const QPoint &, Qt::Alignment) const override { | 128 | KWin::EffectFrame *effectFrame(KWin::EffectFrameStyle, bool, const QPoint &, Qt::Alignment) const override { | ||
129 | return nullptr; | 129 | return nullptr; | ||
130 | } | 130 | } | ||
131 | KWin::EffectWindow *findWindow(WId) const override { | 131 | KWin::EffectWindow *findWindow(WId) const override { | ||
132 | return nullptr; | 132 | return nullptr; | ||
133 | } | 133 | } | ||
134 | KWin::EffectWindow *findWindow(KWayland::Server::SurfaceInterface *) const override { | 134 | KWin::EffectWindow *findWindow(KWaylandServer::SurfaceInterface *) const override { | ||
135 | return nullptr; | 135 | return nullptr; | ||
136 | } | 136 | } | ||
137 | KWin::EffectWindow *findWindow(QWindow *w) const override { | 137 | KWin::EffectWindow *findWindow(QWindow *w) const override { | ||
138 | Q_UNUSED(w) | 138 | Q_UNUSED(w) | ||
139 | return nullptr; | 139 | return nullptr; | ||
140 | } | 140 | } | ||
141 | KWin::EffectWindow *findWindow(const QUuid &id) const override { | 141 | KWin::EffectWindow *findWindow(const QUuid &id) const override { | ||
142 | Q_UNUSED(id) | 142 | Q_UNUSED(id) | ||
▲ Show 20 Lines • Show All 92 Lines • ▼ Show 20 Line(s) | 234 | long unsigned int xrenderBufferPicture() override { | |||
235 | return 0; | 235 | return 0; | ||
236 | } | 236 | } | ||
237 | xcb_connection_t *xcbConnection() const override { | 237 | xcb_connection_t *xcbConnection() const override { | ||
238 | return QX11Info::connection(); | 238 | return QX11Info::connection(); | ||
239 | } | 239 | } | ||
240 | xcb_window_t x11RootWindow() const override { | 240 | xcb_window_t x11RootWindow() const override { | ||
241 | return QX11Info::appRootWindow(); | 241 | return QX11Info::appRootWindow(); | ||
242 | } | 242 | } | ||
243 | KWayland::Server::Display *waylandDisplay() const override { | 243 | KWaylandServer::Display *waylandDisplay() const override { | ||
244 | return nullptr; | 244 | return nullptr; | ||
245 | } | 245 | } | ||
246 | 246 | | |||
247 | bool animationsSupported() const override { | 247 | bool animationsSupported() const override { | ||
248 | return m_animationsSuported; | 248 | return m_animationsSuported; | ||
249 | } | 249 | } | ||
250 | void setAnimationsSupported(bool set) { | 250 | void setAnimationsSupported(bool set) { | ||
251 | m_animationsSuported = set; | 251 | m_animationsSuported = set; | ||
Show All 40 Lines |