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
qevdevtabletmanager_p.h
Go to the documentation of this file.
1
// Copyright (C) 2016 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
QEVDEVTABLETMANAGER_P_H
5
#
define
QEVDEVTABLETMANAGER_P_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
<
QtInputSupport
/
private
/
devicehandlerlist_p
.
h
>
19
20
#
include
<
QObject
>
21
#
include
<
QHash
>
22
#
include
<
QSocketNotifier
>
23
24
QT_BEGIN_NAMESPACE
25
26
class
QDeviceDiscovery;
27
class
QEvdevTabletHandlerThread
;
28
29
class
QEvdevTabletManager
:
public
QObject
30
{
31
public
:
32
QEvdevTabletManager
(
const
QString &key,
const
QString &spec, QObject *parent =
nullptr
);
33
~
QEvdevTabletManager
();
34
35
void
addDevice
(
const
QString &deviceNode);
36
void
removeDevice
(
const
QString &deviceNode);
37
38
private
:
39
void
updateDeviceCount();
40
41
QString m_spec;
42
QtInputSupport::DeviceHandlerList<QEvdevTabletHandlerThread> m_activeDevices;
43
};
44
45
QT_END_NAMESPACE
46
47
#
endif
// QEVDEVTABLETMANAGER_P_H
QEvdevTabletHandlerThread
Definition
qevdevtablethandler_p.h:51
QEvdevTabletManager
Definition
qevdevtabletmanager_p.h:30
QEvdevTabletManager::~QEvdevTabletManager
~QEvdevTabletManager()
Definition
qevdevtabletmanager.cpp:53
QEvdevTabletManager::QEvdevTabletManager
QEvdevTabletManager(const QString &key, const QString &spec, QObject *parent=nullptr)
Definition
qevdevtabletmanager.cpp:18
QEvdevTabletManager::addDevice
void addDevice(const QString &deviceNode)
Definition
qevdevtabletmanager.cpp:57
QEvdevTabletManager::removeDevice
void removeDevice(const QString &deviceNode)
Definition
qevdevtabletmanager.cpp:69
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
qtbase
src
platformsupport
input
evdevtablet
qevdevtabletmanager_p.h
Generated on Thu Nov 14 2024 00:43:39 for Qt by
1.12.0