1// Copyright (C) 2018 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 QQUICKPOINTERSINGLEHANDLER_P_H
5#define QQUICKPOINTERSINGLEHANDLER_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 "qquickhandlerpoint_p.h"
19#include "qquickpointerdevicehandler_p_p.h"
20#include "qquicksinglepointhandler_p.h"
21
22QT_BEGIN_NAMESPACE
23
24class Q_QUICK_PRIVATE_EXPORT QQuickSinglePointHandlerPrivate : public QQuickPointerDeviceHandlerPrivate
25{
26 Q_DECLARE_PUBLIC(QQuickSinglePointHandler)
27
28public:
29 static QQuickSinglePointHandlerPrivate* get(QQuickSinglePointHandler *q) { return q->d_func(); }
30 static const QQuickSinglePointHandlerPrivate* get(const QQuickSinglePointHandler *q) { return q->d_func(); }
31
32 QQuickSinglePointHandlerPrivate();
33
34 void reset();
35
36 QQuickHandlerPoint pointInfo;
37 bool ignoreAdditionalPoints = false;
38};
39
40QT_END_NAMESPACE
41
42#endif // QQUICKPOINTERSINGLEHANDLER_P_H
43
44

source code of qtdeclarative/src/quick/handlers/qquicksinglepointhandler_p_p.h