KWayland

blur_interface.h
1 /*
2  SPDX-FileCopyrightText: 2015 Martin Gräßlin <[email protected]>
3  SPDX-FileCopyrightText: 2015 Marco Martin <[email protected]>
4 
5  SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
6 */
7 #ifndef KWAYLAND_SERVER_BLUR_INTERFACE_H
8 #define KWAYLAND_SERVER_BLUR_INTERFACE_H
9 
10 #include "global.h"
11 #include "resource.h"
12 
13 #include <QObject>
14 
15 #include <KWayland/Server/kwaylandserver_export.h>
16 
17 namespace KWayland
18 {
19 namespace Server
20 {
21 
22 class Display;
23 
33 class KWAYLANDSERVER_EXPORT BlurManagerInterface : public Global
34 {
35  Q_OBJECT
36 public:
37  virtual ~BlurManagerInterface();
38 
39 private:
40  explicit BlurManagerInterface(Display *display, QObject *parent = nullptr);
41  friend class Display;
42  class Private;
43 };
44 
58 class KWAYLANDSERVER_EXPORT BlurInterface : public Resource
59 {
60  Q_OBJECT
61 public:
62  virtual ~BlurInterface();
63 
67  QRegion region();
68 
69 private:
70  explicit BlurInterface(BlurManagerInterface *parent, wl_resource *parentResource);
71  friend class BlurManagerInterface;
72 
73  class Private;
74  Private *d_func() const;
75 };
76 
77 }
78 }
79 
80 #endif
Represents the Resource for the org_kde_kwin_blur interface.
Class holding the Wayland server display loop.
Definition: display.h:89
Represents the Global for org_kde_kwin_blur_manager interface.
Base class for all Globals.
Definition: global.h:46
Represents a bound Resource.
Definition: resource.h:32
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Aug 6 2020 22:49:24 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.