KWin
Loading...
Searching...
No Matches
src
xdgshellintegration.h
Go to the documentation of this file.
1
/*
2
SPDX-FileCopyrightText: 2020 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
3
4
SPDX-License-Identifier: GPL-2.0-or-later
5
*/
6
7
#pragma once
8
9
#include "
waylandshellintegration.h
"
10
11
#include <chrono>
12
13
namespace
KWin
14
{
15
16
class
XdgShellInterface;
17
class
XdgToplevelInterface;
18
class
XdgPopupInterface;
19
20
class
XdgShellIntegration
:
public
WaylandShellIntegration
21
{
22
Q_OBJECT
23
24
public
:
25
explicit
XdgShellIntegration
(QObject *parent =
nullptr
);
26
27
std::chrono::milliseconds
pingTimeout
()
const
;
28
void
setPingTimeout
(std::chrono::milliseconds
pingTimeout
);
29
30
private
:
31
void
registerXdgToplevel(
XdgToplevelInterface
*toplevel);
32
void
registerXdgPopup(
XdgPopupInterface
*popup);
33
void
createXdgToplevelWindow(
XdgToplevelInterface
*surface);
34
35
XdgShellInterface
*m_shell;
36
};
37
38
}
// namespace KWin
KWin::WaylandShellIntegration
Definition
waylandshellintegration.h:15
KWin::XdgPopupInterface
Definition
xdgshell.h:491
KWin::XdgShellIntegration
Definition
xdgshellintegration.h:21
KWin::XdgShellIntegration::setPingTimeout
void setPingTimeout(std::chrono::milliseconds pingTimeout)
Definition
xdgshellintegration.cpp:44
KWin::XdgShellIntegration::pingTimeout
std::chrono::milliseconds pingTimeout() const
Definition
xdgshellintegration.cpp:39
KWin::XdgShellIntegration::XdgShellIntegration
XdgShellIntegration(QObject *parent=nullptr)
Definition
xdgshellintegration.cpp:29
KWin::XdgShellInterface
Definition
xdgshell.h:45
KWin::XdgToplevelInterface
Definition
xdgshell.h:209
KWin
Definition
activation_test.cpp:20
waylandshellintegration.h
Generated on Sat Feb 17 2024 01:42:10 for KWin by
1.10.0