KWindowSystem

kwindowsystem_p_wayland.h
1 /*
2  SPDX-FileCopyrightText: 2015 Martin Gräßlin <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5 */
6 #ifndef KWINDOWSYSTEM_P_WAYLAND_H
7 #define KWINDOWSYSTEM_P_WAYLAND_H
8 
9 #include "kwindowsystem_p.h"
10 
11 class KWindowSystemPrivateWayland : public KWindowSystemPrivate
12 {
13 public:
14  QList<WId> windows() override;
15  QList<WId> stackingOrder() override;
16  WId activeWindow() override;
17  void activateWindow(WId win, long time) override;
18  void forceActiveWindow(WId win, long time) override;
19  void demandAttention(WId win, bool set) override;
20  bool compositingActive() override;
21  int currentDesktop() override;
22  int numberOfDesktops() override;
23  void setCurrentDesktop(int desktop) override;
24  void setOnAllDesktops(WId win, bool b) override;
25  void setOnDesktop(WId win, int desktop) override;
26  void setOnActivities(WId win, const QStringList &activities) override;
27 #if KWINDOWSYSTEM_BUILD_DEPRECATED_SINCE(5, 0)
28  WId transientFor(WId window) override;
29  WId groupLeader(WId window) override;
30 #endif
31  QPixmap icon(WId win, int width, int height, bool scale, int flags) override;
32  void setIcons(WId win, const QPixmap &icon, const QPixmap &miniIcon) override;
33  void setType(WId win, NET::WindowType windowType) override;
34  void setState(WId win, NET::States state) override;
35  void clearState(WId win, NET::States state) override;
36  void minimizeWindow(WId win) override;
37  void unminimizeWindow(WId win) override;
38  void raiseWindow(WId win) override;
39  void lowerWindow(WId win) override;
40  bool icccmCompliantMappingState() override;
41  QRect workArea(int desktop) override;
42  QRect workArea(const QList<WId> &excludes, int desktop) override;
43  QString desktopName(int desktop) override;
44  void setDesktopName(int desktop, const QString &name) override;
45  bool showingDesktop() override;
46  void setShowingDesktop(bool showing) override;
47  void setUserTime(WId win, long time) override;
48  void setExtendedStrut(WId win,
49  int left_width,
50  int left_start,
51  int left_end,
52  int right_width,
53  int right_start,
54  int right_end,
55  int top_width,
56  int top_start,
57  int top_end,
58  int bottom_width,
59  int bottom_start,
60  int bottom_end) override;
61  void setStrut(WId win, int left, int right, int top, int bottom) override;
62  bool allowedActionsSupported() override;
63  QString readNameProperty(WId window, unsigned long atom) override;
64  void allowExternalProcessWindowActivation(int pid) override;
65  void setBlockingCompositing(WId window, bool active) override;
66  bool mapViewport() override;
67  int viewportToDesktop(const QPoint &pos) override;
68  int viewportWindowToDesktop(const QRect &r) override;
69  QPoint desktopToViewport(int desktop, bool absolute) override;
70  QPoint constrainViewportRelativePosition(const QPoint &pos) override;
71 
72  void connectNotify(const QMetaMethod &signal) override;
73 };
74 
75 #endif
WindowType
Window type.
Definition: netwm_def.h:357
void activateWindow()
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Thu Oct 21 2021 22:41:51 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.