Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qwaylandtouch.h
Go to the documentation of this file.
1
// Copyright (C) 2017 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
#
ifndef
QWAYLANDTOUCH_H
6
#
define
QWAYLANDTOUCH_H
7
8
#
include
<
QtWaylandCompositor
/
QWaylandCompositorExtension
>
9
10
#
include
<
QtCore
/
QObject
>
11
#
include
<
QtGui
/
QTouchEvent
>
12
13
struct
wl_resource;
14
15
QT_BEGIN_NAMESPACE
16
17
class
QWaylandTouch;
18
class
QWaylandTouchPrivate;
19
class
QWaylandSeat;
20
class
QWaylandView;
21
class
QWaylandClient;
22
class
QWaylandSurface;
23
24
class
Q_WAYLANDCOMPOSITOR_EXPORT
QWaylandTouch
:
public
QWaylandObject
25
{
26
Q_OBJECT
27
Q_DECLARE_PRIVATE(QWaylandTouch)
28
public
:
29
QWaylandTouch(QWaylandSeat *seat, QObject *parent =
nullptr
);
30
31
QWaylandSeat *seat()
const
;
32
QWaylandCompositor *compositor()
const
;
33
34
virtual
uint sendTouchPointEvent(QWaylandSurface *surface,
int
id,
const
QPointF &position, Qt::TouchPointState state);
35
virtual
void
sendFrameEvent(QWaylandClient *client);
36
virtual
void
sendCancelEvent(QWaylandClient *client);
37
virtual
void
sendFullTouchEvent(QWaylandSurface *surface, QTouchEvent *event);
38
39
virtual
void
addClient(QWaylandClient *client, uint32_t id, uint32_t version);
40
};
41
42
QT_END_NAMESPACE
43
44
#
endif
/*QWAYLANDTOUCH_H*/
QWaylandTouch
\inmodule QtWaylandCompositor
Definition
qwaylandtouch.h:25
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtwayland
src
compositor
compositor_api
qwaylandtouch.h
Generated on
for Qt by
1.18.0