Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qtslib_p.h
Go to the documentation of this file.
1
// Copyright (C) 2020 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
QTSLIB_H
5
#
define
QTSLIB_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 for the convenience
12
// of other Qt classes. 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
<
QObject
>
19
#
include
<
private
/
qglobal_p
.
h
>
20
21
struct
tsdev;
22
23
QT_BEGIN_NAMESPACE
24
25
class
QSocketNotifier;
26
27
class
QTsLibMouseHandler
:
public
QObject
28
{
29
Q_OBJECT
30
31
public
:
32
QTsLibMouseHandler
(
const
QString
&
key
,
const
QString
&
specification
,
QObject
*
parent
=
nullptr
);
33
~
QTsLibMouseHandler
();
34
35
private
slots
:
36
void
readMouseData
();
37
38
private
:
39
QSocketNotifier * m_notify =
nullptr
;
40
tsdev *m_dev;
41
int
m_x = 0;
42
int
m_y = 0;
43
bool
m_pressed =
false
;
44
const
bool
m_rawMode;
45
};
46
47
QT_END_NAMESPACE
48
49
#
endif
// QTSLIB_H
QTsLibMouseHandler
Definition
qtslib_p.h:28
QTsLibMouseHandler::~QTsLibMouseHandler
~QTsLibMouseHandler()
Definition
qtslib.cpp:44
Q_STATIC_LOGGING_CATEGORY
Q_STATIC_LOGGING_CATEGORY(lcAccessibilityCore, "qt.accessibility.core")
get_sample
static bool get_sample(struct tsdev *dev, struct ts_sample *sample, bool rawMode)
Definition
qtslib.cpp:50
qtbase
src
platformsupport
input
tslib
qtslib_p.h
Generated on
for Qt by
1.14.0