KWin
Loading...
Searching...
No Matches
src
wayland
slide.h
Go to the documentation of this file.
1
/*
2
SPDX-FileCopyrightText: 2015 Marco Martin <notmart@gmail.com>
3
4
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5
*/
6
#pragma once
7
8
#include "kwin_export.h"
9
10
#include <QObject>
11
#include <memory>
12
13
struct
wl_resource;
14
15
namespace
KWin
16
{
17
class
Display
;
18
class
SlideManagerInterfacePrivate;
19
class
SlideInterfacePrivate;
20
21
class
KWIN_EXPORT
SlideManagerInterface
:
public
QObject
22
{
23
Q_OBJECT
24
25
public
:
26
explicit
SlideManagerInterface
(
Display
*display, QObject *parent =
nullptr
);
27
~SlideManagerInterface
()
override
;
28
29
void
remove();
30
31
private
:
32
std::unique_ptr<SlideManagerInterfacePrivate> d;
33
};
34
35
class
KWIN_EXPORT
SlideInterface
:
public
QObject
36
{
37
Q_OBJECT
38
public
:
39
enum
Location
{
40
Left = 0,
41
Top
= 1,
42
Right = 2,
43
Bottom
= 3,
44
};
45
46
~SlideInterface
()
override
;
47
51
Location
location()
const
;
52
57
qint32 offset()
const
;
58
59
private
:
60
explicit
SlideInterface
(wl_resource *resource);
61
friend
class
SlideManagerInterfacePrivate
;
62
63
std::unique_ptr<SlideInterfacePrivate> d;
64
};
65
}
KWin::Display
Class holding the Wayland server display loop.
Definition
display.h:34
KWin::SlideInterface
Definition
slide.h:36
KWin::SlideInterface::~SlideInterface
~SlideInterface() override
KWin::SlideInterface::Location
Location
Definition
slide.h:39
KWin::SlideManagerInterface
Definition
slide.h:22
KWin::SlideManagerInterfacePrivate
Definition
slide.cpp:17
KWin
Definition
activation_test.cpp:20
KWin::Gravity::Bottom
@ Bottom
KWin::Gravity::Top
@ Top
Display
struct _XDisplay Display
Definition
x11_standalone_egl_backend.h:18
Generated on Sat Feb 17 2024 01:42:10 for KWin by
1.10.0