Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qlibinputhandler_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 QLIBINPUTHANDLER_P_H
5#define QLIBINPUTHANDLER_P_H
6
7#include <QtCore/QObject>
8#include <QtCore/QScopedPointer>
9#include <QtCore/QMap>
10#include <QtCore/private/qglobal_p.h>
11
12//
13// W A R N I N G
14// -------------
15//
16// This file is not part of the Qt API. It exists purely as an
17// implementation detail. This header file may change from version to
18// version without notice, or even be removed.
19//
20// We mean it.
21//
22
23struct udev;
24struct libinput;
25struct libinput_event;
26
28
29class QSocketNotifier;
32class QLibInputTouch;
33
35{
36public:
37 QLibInputHandler(const QString &key, const QString &spec);
39
40 void onReadyRead();
41
42private:
43 void processEvent(libinput_event *ev);
44
45 udev *m_udev;
46 libinput *m_li;
47 int m_liFd;
52 QMap<int, int> m_devCount;
53};
54
56
57#endif
Definition qmap.h:186
\inmodule QtCore
Definition qobject.h:90
\inmodule QtCore
\inmodule QtCore
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:127
Combined button and popup list for selecting options.
GLuint64 key