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
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
21struct tsdev;
22
23QT_BEGIN_NAMESPACE
24
25class QSocketNotifier;
26
28{
30
31public:
34
35private slots:
36 void readMouseData();
37
38private:
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
47QT_END_NAMESPACE
48
49#endif // QTSLIB_H
Q_STATIC_LOGGING_CATEGORY(lcAccessibilityCore, "qt.accessibility.core")
static bool get_sample(struct tsdev *dev, struct ts_sample *sample, bool rawMode)
Definition qtslib.cpp:50