Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qwaylandqtkey_p.h
Go to the documentation of this file.
1
// Copyright (C) 2018 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4
#ifndef QWAYLANDQTKEY_H
5
#define QWAYLANDQTKEY_H
6
7
//
8
// W A R N I N G
9
// -------------
10
//
11
// This file is not part of the Qt API. It exists purely as an
12
// implementation detail. This header file may change from version to
13
// version without notice, or even be removed.
14
//
15
// We mean it.
16
//
17
18
#include <qpa/qwindowsysteminterface.h>
19
20
#include <QtWaylandClient/qtwaylandclientglobal.h>
21
#include <QtWaylandClient/private/qwayland-qt-key-unstable-v1.h>
22
#include <QtCore/private/qglobal_p.h>
23
24
QT_BEGIN_NAMESPACE
25
26
namespace
QtWaylandClient
{
27
28
class
QWaylandDisplay;
29
30
class
Q_WAYLANDCLIENT_EXPORT
QWaylandQtKeyExtension
:
public
QtWayland::zqt_key_v1
31
{
32
public
:
33
QWaylandQtKeyExtension
(
QWaylandDisplay
*
display
, uint32_t
id
);
34
~QWaylandQtKeyExtension
();
35
36
private
:
37
QWaylandDisplay
*m_display =
nullptr
;
38
39
void
zqt_key_v1_key(
struct
wl_surface *surface,
40
uint32_t
time
,
41
uint32_t
type
,
42
uint32_t
key
,
43
uint32_t
modifiers
,
44
uint32_t nativeScanCode,
45
uint32_t nativeVirtualKey,
46
uint32_t nativeModifiers,
47
const
QString
&
text
,
48
uint32_t autorep,
49
uint32_t
count
)
override
;
50
51
};
52
53
}
54
55
QT_END_NAMESPACE
56
57
#endif
// QWAYLANDQTKEY_H
QString
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition
qstring.h:129
QtWaylandClient::QWaylandDisplay
Definition
qwaylanddisplay_p.h:97
QtWaylandClient::QWaylandQtKeyExtension
Definition
qwaylandqtkey_p.h:31
modifiers
EGLImageKHR int int EGLuint64KHR * modifiers
Definition
dmabufserverbufferintegration.h:34
text
QString text
Definition
doc_src_properties.cpp:105
display
struct wl_display * display
Definition
linuxdmabuf.h:41
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
QtWaylandClient
Definition
qwaylandclientextension.h:15
key
GLuint64 key
Definition
qopengles2ext.h:2268
count
GLenum GLenum GLsizei count
Definition
qopengles2ext.h:150
type
GLenum type
Definition
qopengles2ext.h:150
time
QTime time
[5]
Definition
src_corelib_time_qdatetime.cpp:52
qtwayland
src
client
qwaylandqtkey_p.h
Generated by
1.10.0