KWin
Loading...
Searching...
No Matches
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
11
12namespace KWin
13{
14
15bool PlaceholderInputEventFilter::pointerEvent(MouseEvent *event, quint32 nativeButton)
16{
17 return true;
18}
19
21{
22 return true;
23}
24
26{
27 return true;
28}
29
30bool PlaceholderInputEventFilter::touchDown(qint32 id, const QPointF &pos, std::chrono::microseconds time)
31{
32 return true;
33}
34
35bool PlaceholderInputEventFilter::touchMotion(qint32 id, const QPointF &pos, std::chrono::microseconds time)
36{
37 return true;
38}
39
40bool PlaceholderInputEventFilter::touchUp(qint32 id, std::chrono::microseconds time)
41{
42 return true;
43}
44
45}
bool touchUp(qint32 id, std::chrono::microseconds time) override
bool touchMotion(qint32 id, const QPointF &pos, std::chrono::microseconds time) override
bool pointerEvent(MouseEvent *event, quint32 nativeButton) override
bool touchDown(qint32 id, const QPointF &pos, std::chrono::microseconds time) override
bool wheelEvent(WheelEvent *event) override