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
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
25
28
30{
31public:
32 QEvdevTabletManager(const QString &key, const QString &spec, QObject *parent = nullptr);
34
35 void addDevice(const QString &deviceNode);
36 void removeDevice(const QString &deviceNode);
37
38private:
39 void updateDeviceCount();
40
41 QString m_spec;
43};
44
46
47#endif // QEVDEVTABLETMANAGER_P_H
QEvdevTabletManager(const QString &key, const QString &spec, QObject *parent=nullptr)
void addDevice(const QString &deviceNode)
void removeDevice(const QString &deviceNode)
\inmodule QtCore
Definition qobject.h:103
QObject * parent() const
Returns a pointer to the parent object.
Definition qobject.h:346
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
Combined button and popup list for selecting options.
GLuint64 key