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
qvxtouchmanager_p.h
Go to the documentation of this file.
1// Copyright (C) 2024 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 QVXTOUCHMANAGER_P_H
5#define QVXTOUCHMANAGER_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
24QT_BEGIN_NAMESPACE
25
26class QVxTouchScreenHandlerThread;
27
29{
30public:
31 QVxTouchManager(const QString &key, const QString &spec, QObject *parent = nullptr);
33
34 void addDevice(const QString &deviceNode);
35 void removeDevice(const QString &deviceNode);
36
38
39private:
40 QString m_spec;
41 QtInputSupport::DeviceHandlerList<QVxTouchScreenHandlerThread> m_activeDevices;
42};
43
44QT_END_NAMESPACE
45
46#endif // QVXTOUCHMANAGER_P_H
void addDevice(const QString &deviceNode)
void removeDevice(const QString &deviceNode)
QVxTouchManager(const QString &key, const QString &spec, QObject *parent=nullptr)