Changeset View
Changeset View
Standalone View
Standalone View
effects.h
Show All 29 Lines | |||||
30 | #include <Plasma/FrameSvg> | 30 | #include <Plasma/FrameSvg> | ||
31 | 31 | | |||
32 | #include <memory> | 32 | #include <memory> | ||
33 | 33 | | |||
34 | namespace Plasma { | 34 | namespace Plasma { | ||
35 | class Theme; | 35 | class Theme; | ||
36 | } | 36 | } | ||
37 | 37 | | |||
38 | namespace KWayland | 38 | namespace KWaylandServer | ||
39 | { | | |||
40 | namespace Server | | |||
41 | { | 39 | { | ||
42 | class Display; | 40 | class Display; | ||
43 | } | 41 | } | ||
44 | } | | |||
45 | 42 | | |||
46 | class QDBusPendingCallWatcher; | 43 | class QDBusPendingCallWatcher; | ||
47 | class QDBusServiceWatcher; | 44 | class QDBusServiceWatcher; | ||
48 | 45 | | |||
49 | 46 | | |||
50 | namespace KWin | 47 | namespace KWin | ||
51 | { | 48 | { | ||
52 | 49 | | |||
▲ Show 20 Lines • Show All 76 Lines • ▼ Show 20 Line(s) | 71 | public: | |||
129 | void registerGlobalShortcut(const QKeySequence &shortcut, QAction *action) override; | 126 | void registerGlobalShortcut(const QKeySequence &shortcut, QAction *action) override; | ||
130 | void registerPointerShortcut(Qt::KeyboardModifiers modifiers, Qt::MouseButton pointerButtons, QAction *action) override; | 127 | void registerPointerShortcut(Qt::KeyboardModifiers modifiers, Qt::MouseButton pointerButtons, QAction *action) override; | ||
131 | void registerAxisShortcut(Qt::KeyboardModifiers modifiers, PointerAxisDirection axis, QAction *action) override; | 128 | void registerAxisShortcut(Qt::KeyboardModifiers modifiers, PointerAxisDirection axis, QAction *action) override; | ||
132 | void registerTouchpadSwipeShortcut(SwipeDirection direction, QAction *action) override; | 129 | void registerTouchpadSwipeShortcut(SwipeDirection direction, QAction *action) override; | ||
133 | void* getProxy(QString name) override; | 130 | void* getProxy(QString name) override; | ||
134 | void startMousePolling() override; | 131 | void startMousePolling() override; | ||
135 | void stopMousePolling() override; | 132 | void stopMousePolling() override; | ||
136 | EffectWindow* findWindow(WId id) const override; | 133 | EffectWindow* findWindow(WId id) const override; | ||
137 | EffectWindow* findWindow(KWayland::Server::SurfaceInterface *surf) const override; | 134 | EffectWindow* findWindow(KWaylandServer::SurfaceInterface *surf) const override; | ||
138 | EffectWindow *findWindow(QWindow *w) const override; | 135 | EffectWindow *findWindow(QWindow *w) const override; | ||
139 | EffectWindow *findWindow(const QUuid &id) const override; | 136 | EffectWindow *findWindow(const QUuid &id) const override; | ||
140 | EffectWindowList stackingOrder() const override; | 137 | EffectWindowList stackingOrder() const override; | ||
141 | void setElevatedWindow(KWin::EffectWindow* w, bool set) override; | 138 | void setElevatedWindow(KWin::EffectWindow* w, bool set) override; | ||
142 | 139 | | |||
143 | void setTabBoxWindow(EffectWindow*) override; | 140 | void setTabBoxWindow(EffectWindow*) override; | ||
144 | void setTabBoxDesktop(int) override; | 141 | void setTabBoxDesktop(int) override; | ||
145 | EffectWindowList currentTabBoxWindowList() const override; | 142 | EffectWindowList currentTabBoxWindowList() const override; | ||
▲ Show 20 Lines • Show All 80 Lines • ▼ Show 20 Line(s) | |||||
226 | } | 223 | } | ||
227 | /** | 224 | /** | ||
228 | * @returns the desktop currently being rendered in the paintDesktop hook. | 225 | * @returns the desktop currently being rendered in the paintDesktop hook. | ||
229 | */ | 226 | */ | ||
230 | int currentRenderedDesktop() const { | 227 | int currentRenderedDesktop() const { | ||
231 | return m_currentRenderedDesktop; | 228 | return m_currentRenderedDesktop; | ||
232 | } | 229 | } | ||
233 | 230 | | |||
234 | KWayland::Server::Display *waylandDisplay() const override; | 231 | KWaylandServer::Display *waylandDisplay() const override; | ||
235 | 232 | | |||
236 | bool animationsSupported() const override; | 233 | bool animationsSupported() const override; | ||
237 | 234 | | |||
238 | PlatformCursorImage cursorImage() const override; | 235 | PlatformCursorImage cursorImage() const override; | ||
239 | 236 | | |||
240 | void hideCursor() override; | 237 | void hideCursor() override; | ||
241 | void showCursor() override; | 238 | void showCursor() override; | ||
242 | 239 | | |||
▲ Show 20 Lines • Show All 205 Lines • ▼ Show 20 Line(s) | 374 | public: | |||
448 | 445 | | |||
449 | bool acceptsFocus() const override; | 446 | bool acceptsFocus() const override; | ||
450 | bool keepAbove() const override; | 447 | bool keepAbove() const override; | ||
451 | bool keepBelow() const override; | 448 | bool keepBelow() const override; | ||
452 | bool isModal() const override; | 449 | bool isModal() const override; | ||
453 | bool isPopupWindow() const override; | 450 | bool isPopupWindow() const override; | ||
454 | bool isOutline() const override; | 451 | bool isOutline() const override; | ||
455 | 452 | | |||
456 | KWayland::Server::SurfaceInterface *surface() const override; | 453 | KWaylandServer::SurfaceInterface *surface() const override; | ||
457 | bool isFullScreen() const override; | 454 | bool isFullScreen() const override; | ||
458 | bool isUnresponsive() const override; | 455 | bool isUnresponsive() const override; | ||
459 | 456 | | |||
460 | QRect contentsRect() const override; | 457 | QRect contentsRect() const override; | ||
461 | bool decorationHasAlpha() const override; | 458 | bool decorationHasAlpha() const override; | ||
462 | QIcon icon() const override; | 459 | QIcon icon() const override; | ||
463 | QString windowClass() const override; | 460 | QString windowClass() const override; | ||
464 | NET::WindowType windowType() const override; | 461 | NET::WindowType windowType() const override; | ||
▲ Show 20 Lines • Show All 215 Lines • Show Last 20 Lines |