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
qlibinputpointer_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 QLIBINPUTPOINTER_P_H
5#define QLIBINPUTPOINTER_P_H
6
7#include <QtCore/QPoint>
8#include <QtCore/private/qglobal_p.h>
9
10//
11// W A R N I N G
12// -------------
13//
14// This file is not part of the Qt API. It exists purely as an
15// implementation detail. This header file may change from version to
16// version without notice, or even be removed.
17//
18// We mean it.
19//
20
21struct libinput_event_pointer;
22
24
26{
27public:
29
30 void processButton(libinput_event_pointer *e);
31 void processMotion(libinput_event_pointer *e);
32 void processAbsMotion(libinput_event_pointer *e);
33 void processAxis(libinput_event_pointer *e);
34
35 void setPos(const QPoint &pos);
36
37private:
38 QPoint m_pos;
39 Qt::MouseButtons m_buttons;
40};
41
43
44#endif
void processAxis(libinput_event_pointer *e)
void setPos(const QPoint &pos)
void processButton(libinput_event_pointer *e)
void processMotion(libinput_event_pointer *e)
void processAbsMotion(libinput_event_pointer *e)
\inmodule QtCore\reentrant
Definition qpoint.h:25
Combined button and popup list for selecting options.