KWin
Loading...
Searching...
No Matches
src
placeholderinputeventfilter.cpp
Go to the documentation of this file.
1
/*
2
KWin - the KDE window manager
3
This file is part of the KDE project.
4
5
SPDX-FileCopyrightText: 2022 Xaver Hugl <xaver.hugl@gmail.com>
6
7
SPDX-License-Identifier: GPL-2.0-or-later
8
*/
9
10
#include "
placeholderinputeventfilter.h
"
11
12
namespace
KWin
13
{
14
15
bool
PlaceholderInputEventFilter::pointerEvent
(
MouseEvent
*event, quint32 nativeButton)
16
{
17
return
true
;
18
}
19
20
bool
PlaceholderInputEventFilter::wheelEvent
(
WheelEvent
*event)
21
{
22
return
true
;
23
}
24
25
bool
PlaceholderInputEventFilter::keyEvent
(
KeyEvent
*event)
26
{
27
return
true
;
28
}
29
30
bool
PlaceholderInputEventFilter::touchDown
(qint32
id
,
const
QPointF &pos, std::chrono::microseconds time)
31
{
32
return
true
;
33
}
34
35
bool
PlaceholderInputEventFilter::touchMotion
(qint32
id
,
const
QPointF &pos, std::chrono::microseconds time)
36
{
37
return
true
;
38
}
39
40
bool
PlaceholderInputEventFilter::touchUp
(qint32
id
, std::chrono::microseconds time)
41
{
42
return
true
;
43
}
44
45
}
KWin::KeyEvent
Definition
input_event.h:133
KWin::MouseEvent
Definition
input_event.h:22
KWin::PlaceholderInputEventFilter::touchUp
bool touchUp(qint32 id, std::chrono::microseconds time) override
Definition
placeholderinputeventfilter.cpp:40
KWin::PlaceholderInputEventFilter::keyEvent
bool keyEvent(KeyEvent *event) override
Definition
placeholderinputeventfilter.cpp:25
KWin::PlaceholderInputEventFilter::touchMotion
bool touchMotion(qint32 id, const QPointF &pos, std::chrono::microseconds time) override
Definition
placeholderinputeventfilter.cpp:35
KWin::PlaceholderInputEventFilter::pointerEvent
bool pointerEvent(MouseEvent *event, quint32 nativeButton) override
Definition
placeholderinputeventfilter.cpp:15
KWin::PlaceholderInputEventFilter::touchDown
bool touchDown(qint32 id, const QPointF &pos, std::chrono::microseconds time) override
Definition
placeholderinputeventfilter.cpp:30
KWin::PlaceholderInputEventFilter::wheelEvent
bool wheelEvent(WheelEvent *event) override
Definition
placeholderinputeventfilter.cpp:20
KWin::WheelEvent
Definition
input_event.h:79
KWin
Definition
activation_test.cpp:20
placeholderinputeventfilter.h
Generated on Sat Feb 17 2024 01:42:09 for KWin by
1.10.0