| 1 | /* |
| 2 | * Copyright (C) 2015 Canonical Ltd. |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License as published by |
| 6 | * the Free Software Foundation; version 3. |
| 7 | * |
| 8 | * This program is distributed in the hope that it will be useful, |
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | * GNU General Public License for more details. |
| 12 | * |
| 13 | * You should have received a copy of the GNU General Public License |
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | */ |
| 16 | |
| 17 | #ifndef UCSWIPEAREA_P_H |
| 18 | #define UCSWIPEAREA_P_Hcxx . . $ `src/LomiriGestures/ucswipearea_p.h:18:9`! |
| 19 | |
| 20 | #include <QtCore/QLoggingCategory> |
| 21 | #include <QtQuick/QQuickItem> |
| 22 | |
| 23 | #if QT_VERSIONcxx . . $ `<external>/15045578679651060896/qglobal.h:57:9`! >= QT_VERSION_CHECKcxx . . $ `<external>/15045578679651060896/qglobal.h:61:9`!(6, 0, 0) |
| 24 | #include <LomiriGestures-Qt6/lomirigesturesglobal.h> |
| 25 | #else |
| 26 | #include <LomiriGestures/lomirigesturesglobal.h>cxx . . $ `<file>/include/LomiriGestures/lomirigesturesglobal.h`/ |
| 27 | #endif |
| 28 | #if QT_VERSIONcxx . . $ `<external>/15045578679651060896/qglobal.h:57:9`! >= QT_VERSION_CHECKcxx . . $ `<external>/15045578679651060896/qglobal.h:61:9`!(6, 0, 0) |
| 29 | #include <LomiriGestures-Qt6/private/pool_p.h> |
| 30 | #else |
| 31 | #include <LomiriGestures/private/pool_p.h>cxx . . $ `<file>/include/LomiriGestures/5.5.0/LomiriGestures/private/pool_p.h`/ |
| 32 | #endif |
| 33 | #if QT_VERSIONcxx . . $ `<external>/15045578679651060896/qglobal.h:57:9`! >= QT_VERSION_CHECKcxx . . $ `<external>/15045578679651060896/qglobal.h:61:9`!(6, 0, 0) |
| 34 | #include <LomiriGestures-Qt6/private/timer_p.h> |
| 35 | #else |
| 36 | #include <LomiriGestures/private/timer_p.h>cxx . . $ `<file>/include/LomiriGestures/5.5.0/LomiriGestures/private/timer_p.h`/ |
| 37 | #endif |
| 38 | |
| 39 | UG_NAMESPACE_BEGINcxx . . $ `src/LomiriGestures/lomirigesturesglobal.h:30:9`! |
| 40 | |
| 41 | class TouchOwnershipEventcxx . . $ LomiriGestures/TouchOwnershipEvent#; |
| 42 | class UnownedTouchEventcxx . . $ LomiriGestures/UnownedTouchEvent#; |
| 43 | class UCSwipeAreaPrivatecxx . . $ LomiriGestures/UCSwipeAreaPrivate#; |
| 44 | class LOMIRIGESTURES_EXPORTcxx . . $ `src/LomiriGestures/lomirigesturesglobal.h:23:11`! UCSwipeAreacxx . . $ LomiriGestures/UCSwipeArea# : public QQuickItemcxx . . $ QQuickItem# |
| 45 | { |
| 46 | Q_OBJECTcxx . . $ LomiriGestures/UCSwipeArea#tr(75d9f1c324b4579d). |
| 47 | |
| 48 | Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(Direction direction READ direction WRITE setDirection NOTIFY directionChanged) |
| 49 | Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(qreal distance READ distance NOTIFY distanceChanged) |
| 50 | Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(QPointF touchPosition READ touchPosition NOTIFY touchPositionChanged) |
| 51 | Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(bool dragging READ dragging NOTIFY draggingChanged) |
| 52 | Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(bool pressed READ pressed NOTIFY pressedChanged) |
| 53 | Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(bool immediateRecognition |
| 54 | READ immediateRecognition |
| 55 | WRITE setImmediateRecognition |
| 56 | NOTIFY immediateRecognitionChanged) |
| 57 | Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(bool grabGesture READ grabGesture WRITE setGrabGesture NOTIFY grabGestureChanged FINAL) |
| 58 | |
| 59 | Q_ENUMScxx . . $ `<external>/1208926524888476972/qobjectdefs.h:111:9`!(Direction) |
| 60 | public: |
| 61 | enum Directioncxx . . $ LomiriGestures/UCSwipeArea#Direction# { |
| 62 | Rightwardscxx . . $ LomiriGestures/UCSwipeArea#Rightwards., |
| 63 | Leftwardscxx . . $ LomiriGestures/UCSwipeArea#Leftwards., |
| 64 | Downwardscxx . . $ LomiriGestures/UCSwipeArea#Downwards., |
| 65 | Upwardscxx . . $ LomiriGestures/UCSwipeArea#Upwards., |
| 66 | Horizontalcxx . . $ LomiriGestures/UCSwipeArea#Horizontal., |
| 67 | Verticalcxx . . $ LomiriGestures/UCSwipeArea#Vertical. |
| 68 | }; |
| 69 | |
| 70 | UCSwipeAreacxx . . $ LomiriGestures/UCSwipeArea#UCSwipeArea(28aa4acb8f529eea).(QQuickItemcxx . . $ QQuickItem# *parent = 0); |
| 71 | |
| 72 | Directioncxx . . $ LomiriGestures/UCSwipeArea#Direction# directioncxx . . $ LomiriGestures/UCSwipeArea#direction(31066bab0d44ba51).() const; |
| 73 | void setDirectioncxx . . $ LomiriGestures/UCSwipeArea#setDirection(c6b2c9734c985649).(Directioncxx . . $ LomiriGestures/UCSwipeArea#Direction#); |
| 74 | |
| 75 | qrealcxx . . $ qreal# distancecxx . . $ LomiriGestures/UCSwipeArea#distance(21b6c25e127938e2).() const; |
| 76 | |
| 77 | QPointFcxx . . $ QPointF# touchPositioncxx . . $ LomiriGestures/UCSwipeArea#touchPosition(a5b3784bf6777acb).() const; |
| 78 | |
| 79 | bool draggingcxx . . $ LomiriGestures/UCSwipeArea#dragging(50ce9a9e25b4a850).() const; |
| 80 | |
| 81 | bool pressedcxx . . $ LomiriGestures/UCSwipeArea#pressed(50ce9a9e25b4a850).() const; |
| 82 | |
| 83 | bool immediateRecognitioncxx . . $ LomiriGestures/UCSwipeArea#immediateRecognition(50ce9a9e25b4a850).() const; |
| 84 | void setImmediateRecognitioncxx . . $ LomiriGestures/UCSwipeArea#setImmediateRecognition(b45ddcbc8423892c).(bool enabled); |
| 85 | |
| 86 | bool grabGesturecxx . . $ LomiriGestures/UCSwipeArea#grabGesture(50ce9a9e25b4a850).() const; |
| 87 | void setGrabGesturecxx . . $ LomiriGestures/UCSwipeArea#setGrabGesture(b45ddcbc8423892c).(bool enabled); |
| 88 | |
| 89 | Q_SIGNALScxx . . $ `<external>/1208926524888476972/qobjectdefs.h:93:10`!: |
| 90 | void directionChangedcxx . . $ LomiriGestures/UCSwipeArea#directionChanged(c6b2c9734c985649).(Directioncxx . . $ LomiriGestures/UCSwipeArea#Direction# direction); |
| 91 | void draggingChangedcxx . . $ LomiriGestures/UCSwipeArea#draggingChanged(b45ddcbc8423892c).(bool dragging); |
| 92 | void pressedChangedcxx . . $ LomiriGestures/UCSwipeArea#pressedChanged(b45ddcbc8423892c).(bool pressed); |
| 93 | void distanceChangedcxx . . $ LomiriGestures/UCSwipeArea#distanceChanged(ba8836b59fb42830).(qrealcxx . . $ qreal# distance); |
| 94 | void touchPositionChangedcxx . . $ LomiriGestures/UCSwipeArea#touchPositionChanged(4258778b894f8bb6).(const QPointFcxx . . $ QPointF# &position); |
| 95 | void immediateRecognitionChangedcxx . . $ LomiriGestures/UCSwipeArea#immediateRecognitionChanged(b45ddcbc8423892c).(bool immediateRecognition); |
| 96 | void grabGestureChangedcxx . . $ LomiriGestures/UCSwipeArea#grabGestureChanged(b45ddcbc8423892c).(bool grabGesture); |
| 97 | |
| 98 | protected: |
| 99 | bool eventcxx . . $ LomiriGestures/UCSwipeArea#event(f123fa2ce489f0bd).(QEventcxx . . $ QEvent# *e) override; |
| 100 | |
| 101 | void touchEventcxx . . $ LomiriGestures/UCSwipeArea#touchEvent(3088690d2ec9a7bd).(QTouchEventcxx . . $ QTouchEvent# *event) override; |
| 102 | void itemChangecxx . . $ LomiriGestures/UCSwipeArea#itemChange(6dfad8b9065d088c).(ItemChangecxx . . $ QQuickItem#ItemChange# change, const ItemChangeDatacxx . . $ QQuickItem#ItemChangeData# &value) override; |
| 103 | |
| 104 | // functors |
| 105 | void giveUpIfDisabledOrInvisiblecxx . . $ LomiriGestures/UCSwipeArea#giveUpIfDisabledOrInvisible(49f6e7a06ebc5aa8).(); |
| 106 | void rejectGesturecxx . . $ LomiriGestures/UCSwipeArea#rejectGesture(49f6e7a06ebc5aa8).(); |
| 107 | |
| 108 | private: |
| 109 | Q_DECLARE_PRIVATEcxx . . $ LomiriGestures/UCSwipeArea#d_func(7da6bc362d8e437d).(UCSwipeArea) |
| 110 | }; |
| 111 | |
| 112 | UG_NAMESPACE_ENDcxx . . $ `src/LomiriGestures/lomirigesturesglobal.h:31:9`! |
| 113 | |
| 114 | Q_DECLARE_LOGGING_CATEGORYcxx . . $ `<external>/13903568758641964362/qloggingcategory.h:111:9`!(ucSwipeArea) |
| 115 | Q_DECLARE_LOGGING_CATEGORYcxx . . $ `<external>/13903568758641964362/qloggingcategory.h:111:9`!(ucActiveTouchInfo) |
| 116 | |
| 117 | #endif // UCSWIPEAREA_P_H |