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
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
24
25class QSocketNotifier;
26
28{
30
31public:
32 QTsLibMouseHandler(const QString &key, const QString &specification, QObject *parent = nullptr);
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
48
49#endif // QTSLIB_H
\inmodule QtCore
Definition qobject.h:103
QObject * parent() const
Returns a pointer to the parent object.
Definition qobject.h:346
\inmodule QtCore
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
QTsLibMouseHandler(const QString &key, const QString &specification, QObject *parent=nullptr)
Definition qtslib.cpp:22
Combined button and popup list for selecting options.
GLuint64 key
#define Q_OBJECT
#define slots