KWin
Loading...
Searching...
No Matches
src
hide_cursor_spy.h
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: 2018 Martin Flöser <mgraesslin@kde.org>
6
7
SPDX-License-Identifier: GPL-2.0-or-later
8
*/
9
#pragma once
10
#include "
input_event_spy.h
"
11
12
namespace
KWin
13
{
14
15
class
HideCursorSpy
:
public
InputEventSpy
16
{
17
public
:
18
void
pointerEvent
(
KWin::MouseEvent
*event)
override
;
19
void
wheelEvent
(
KWin::WheelEvent
*event)
override
;
20
void
touchDown
(qint32
id
,
const
QPointF &pos, std::chrono::microseconds time)
override
;
21
void
tabletToolEvent
(
TabletEvent
*event)
override
;
22
23
private
:
24
void
showCursor();
25
void
hideCursor();
26
27
bool
m_cursorHidden =
false
;
28
};
29
30
}
KWin::HideCursorSpy
Definition
hide_cursor_spy.h:16
KWin::HideCursorSpy::touchDown
void touchDown(qint32 id, const QPointF &pos, std::chrono::microseconds time) override
Definition
hide_cursor_spy.cpp:27
KWin::HideCursorSpy::wheelEvent
void wheelEvent(KWin::WheelEvent *event) override
Definition
hide_cursor_spy.cpp:22
KWin::HideCursorSpy::pointerEvent
void pointerEvent(KWin::MouseEvent *event) override
Definition
hide_cursor_spy.cpp:17
KWin::HideCursorSpy::tabletToolEvent
void tabletToolEvent(TabletEvent *event) override
Definition
hide_cursor_spy.cpp:32
KWin::InputEventSpy
Definition
input_event_spy.h:39
KWin::MouseEvent
Definition
input_event.h:22
KWin::TabletEvent
Definition
input_event.h:211
KWin::WheelEvent
Definition
input_event.h:79
input_event_spy.h
KWin
Definition
activation_test.cpp:20
Generated on Sat Feb 17 2024 01:42:09 for KWin by
1.10.0