KWindowSystem

platforms/wayland/kwindowsystem.cpp
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 
7 #include "kwindowsystem_p_wayland.h"
8 #include <QList>
9 #include <QMetaMethod>
10 #include <QPixmap>
11 
12 QList<WId> KWindowSystemPrivateWayland::windows()
13 {
14  return QList<WId>();
15 }
16 
17 QList<WId> KWindowSystemPrivateWayland::stackingOrder()
18 {
19  return QList<WId>();
20 }
21 
22 WId KWindowSystemPrivateWayland::activeWindow()
23 {
24  return 0;
25 }
26 
27 void KWindowSystemPrivateWayland::activateWindow(WId win, long time)
28 {
29  Q_UNUSED(win)
30  Q_UNUSED(time)
31 }
32 
33 void KWindowSystemPrivateWayland::forceActiveWindow(WId win, long time)
34 {
35  Q_UNUSED(win)
36  Q_UNUSED(time)
37 }
38 
39 void KWindowSystemPrivateWayland::demandAttention(WId win, bool set)
40 {
41  Q_UNUSED(win)
42  Q_UNUSED(set)
43 }
44 
45 bool KWindowSystemPrivateWayland::compositingActive()
46 {
47  return true;
48 }
49 
50 int KWindowSystemPrivateWayland::currentDesktop()
51 {
52  return 0;
53 }
54 
55 int KWindowSystemPrivateWayland::numberOfDesktops()
56 {
57  return 0;
58 }
59 
60 void KWindowSystemPrivateWayland::setCurrentDesktop(int desktop)
61 {
62  Q_UNUSED(desktop)
63 }
64 
65 void KWindowSystemPrivateWayland::setOnAllDesktops(WId win, bool b)
66 {
67  Q_UNUSED(win)
68  Q_UNUSED(b)
69 }
70 
71 void KWindowSystemPrivateWayland::setOnDesktop(WId win, int desktop)
72 {
73  Q_UNUSED(win)
74  Q_UNUSED(desktop)
75 }
76 
77 void KWindowSystemPrivateWayland::setOnActivities(WId win, const QStringList &activities)
78 {
79  Q_UNUSED(win)
80  Q_UNUSED(activities)
81 }
82 
83 #if KWINDOWSYSTEM_BUILD_DEPRECATED_SINCE(5, 0)
84 WId KWindowSystemPrivateWayland::transientFor(WId window)
85 {
86  Q_UNUSED(window)
87  return 0;
88 }
89 
90 WId KWindowSystemPrivateWayland::groupLeader(WId window)
91 {
92  Q_UNUSED(window)
93  return 0;
94 }
95 #endif
96 
97 QPixmap KWindowSystemPrivateWayland::icon(WId win, int width, int height, bool scale, int flags)
98 {
99  Q_UNUSED(win)
100  Q_UNUSED(width)
101  Q_UNUSED(height)
102  Q_UNUSED(scale)
103  Q_UNUSED(flags)
104  return QPixmap();
105 }
106 
107 void KWindowSystemPrivateWayland::setIcons(WId win, const QPixmap &icon, const QPixmap &miniIcon)
108 {
109  Q_UNUSED(win)
110  Q_UNUSED(icon)
111  Q_UNUSED(miniIcon)
112 }
113 
114 void KWindowSystemPrivateWayland::setType(WId win, NET::WindowType windowType)
115 {
116  Q_UNUSED(win)
117  Q_UNUSED(windowType)
118 }
119 
120 void KWindowSystemPrivateWayland::setState(WId win, NET::States state)
121 {
122  Q_UNUSED(win)
123  Q_UNUSED(state)
124 }
125 
126 void KWindowSystemPrivateWayland::clearState(WId win, NET::States state)
127 {
128  Q_UNUSED(win)
129  Q_UNUSED(state)
130 }
131 
132 void KWindowSystemPrivateWayland::minimizeWindow(WId win)
133 {
134  Q_UNUSED(win)
135 }
136 
137 void KWindowSystemPrivateWayland::unminimizeWindow(WId win)
138 {
139  Q_UNUSED(win)
140 }
141 
142 void KWindowSystemPrivateWayland::raiseWindow(WId win)
143 {
144  Q_UNUSED(win)
145 }
146 
147 void KWindowSystemPrivateWayland::lowerWindow(WId win)
148 {
149  Q_UNUSED(win)
150 }
151 
152 bool KWindowSystemPrivateWayland::icccmCompliantMappingState()
153 {
154  return false;
155 }
156 
157 QRect KWindowSystemPrivateWayland::workArea(int desktop)
158 {
159  Q_UNUSED(desktop)
160  return QRect();
161 }
162 
163 QRect KWindowSystemPrivateWayland::workArea(const QList<WId> &excludes, int desktop)
164 {
165  Q_UNUSED(excludes)
166  Q_UNUSED(desktop)
167  return QRect();
168 }
169 
170 QString KWindowSystemPrivateWayland::desktopName(int desktop)
171 {
172  Q_UNUSED(desktop)
173  return QString();
174 }
175 
176 void KWindowSystemPrivateWayland::setDesktopName(int desktop, const QString &name)
177 {
178  Q_UNUSED(desktop)
179  Q_UNUSED(name)
180 }
181 
182 bool KWindowSystemPrivateWayland::showingDesktop()
183 {
184  return false;
185 }
186 
187 void KWindowSystemPrivateWayland::setShowingDesktop(bool showing)
188 {
189  Q_UNUSED(showing);
190 }
191 
192 void KWindowSystemPrivateWayland::setUserTime(WId win, long time)
193 {
194  Q_UNUSED(win)
195  Q_UNUSED(time)
196 }
197 
198 void KWindowSystemPrivateWayland::setExtendedStrut(WId win,
199  int left_width,
200  int left_start,
201  int left_end,
202  int right_width,
203  int right_start,
204  int right_end,
205  int top_width,
206  int top_start,
207  int top_end,
208  int bottom_width,
209  int bottom_start,
210  int bottom_end)
211 {
212  Q_UNUSED(win)
213  Q_UNUSED(left_width)
214  Q_UNUSED(left_start)
215  Q_UNUSED(left_end)
216  Q_UNUSED(right_width)
217  Q_UNUSED(right_start)
218  Q_UNUSED(right_end)
219  Q_UNUSED(top_width)
220  Q_UNUSED(top_start)
221  Q_UNUSED(top_end)
222  Q_UNUSED(bottom_width)
223  Q_UNUSED(bottom_start)
224  Q_UNUSED(bottom_end)
225 }
226 
227 void KWindowSystemPrivateWayland::setStrut(WId win, int left, int right, int top, int bottom)
228 {
229  Q_UNUSED(win)
230  Q_UNUSED(left)
231  Q_UNUSED(right)
232  Q_UNUSED(top)
233  Q_UNUSED(bottom)
234 }
235 
236 bool KWindowSystemPrivateWayland::allowedActionsSupported()
237 {
238  return false;
239 }
240 
241 QString KWindowSystemPrivateWayland::readNameProperty(WId window, unsigned long atom)
242 {
243  Q_UNUSED(window)
244  Q_UNUSED(atom)
245  return QString();
246 }
247 
248 void KWindowSystemPrivateWayland::allowExternalProcessWindowActivation(int pid)
249 {
250  Q_UNUSED(pid)
251 }
252 
253 void KWindowSystemPrivateWayland::setBlockingCompositing(WId window, bool active)
254 {
255  Q_UNUSED(window)
256  Q_UNUSED(active)
257 }
258 
259 bool KWindowSystemPrivateWayland::mapViewport()
260 {
261  return false;
262 }
263 
264 int KWindowSystemPrivateWayland::viewportToDesktop(const QPoint &pos)
265 {
266  Q_UNUSED(pos)
267  return 0;
268 }
269 
270 int KWindowSystemPrivateWayland::viewportWindowToDesktop(const QRect &r)
271 {
272  Q_UNUSED(r)
273  return 0;
274 }
275 
276 QPoint KWindowSystemPrivateWayland::desktopToViewport(int desktop, bool absolute)
277 {
278  Q_UNUSED(desktop)
279  Q_UNUSED(absolute)
280  return QPoint();
281 }
282 
283 QPoint KWindowSystemPrivateWayland::constrainViewportRelativePosition(const QPoint &pos)
284 {
285  Q_UNUSED(pos)
286  return QPoint();
287 }
288 
289 void KWindowSystemPrivateWayland::connectNotify(const QMetaMethod &signal)
290 {
291  Q_UNUSED(signal)
292 }
Base namespace class.
Definition: netwm_def.h:334
void activateWindow()
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Fri Oct 15 2021 22:41:50 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.