Qt
6.x
The Qt SDK
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
QObject
\inmodule QtCore
Definition
qobject.h:90
QObject::parent
QObject * parent() const
Returns a pointer to the parent object.
Definition
qobject.h:311
QSocketNotifier
\inmodule QtCore
Definition
qsocketnotifier.h:14
QString
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition
qstring.h:127
QTsLibMouseHandler
Definition
qtslib_p.h:28
QTsLibMouseHandler::~QTsLibMouseHandler
~QTsLibMouseHandler()
Definition
qtslib.cpp:44
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1545
key
GLuint64 key
Definition
qopengles2ext.h:2268
Q_OBJECT
#define Q_OBJECT
Definition
qtmetamacros.h:117
slots
#define slots
Definition
qtmetamacros.h:40
qtbase
src
platformsupport
input
tslib
qtslib_p.h
Generated by
1.9.7