Changeset 846 for trunk/src/gui/kernel/qgesture_p.h
- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/src/gui/kernel/qgesture_p.h
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) … … 56 56 #include "qrect.h" 57 57 #include "qpoint.h" 58 #include "qdatetime.h"59 58 #include "qgesture.h" 59 60 60 #include "private/qobject_p.h" 61 62 61 63 62 64 QT_BEGIN_NAMESPACE … … 70 72 : gestureType(Qt::CustomGesture), state(Qt::NoGesture), 71 73 isHotSpotSet(false), gestureCancelPolicy(0) 72 73 74 { 74 75 } … … 77 78 Qt::GestureState state; 78 79 QPointF hotSpot; 80 79 81 uint isHotSpotSet : 1; 80 82 uint gestureCancelPolicy : 2; … … 87 89 public: 88 90 QPanGesturePrivate() 89 : acceleration(0) 91 : acceleration(0) 90 92 { 91 93 } 94 95 96 97 98 92 99 93 100 QPointF lastOffset; … … 95 102 QPoint startPosition; 96 103 qreal acceleration; 104 105 97 106 }; 98 107 … … 104 113 QPinchGesturePrivate() 105 114 : totalChangeFlags(0), changeFlags(0), 106 totalScaleFactor( 0), lastScaleFactor(0), scaleFactor(0),115 totalScaleFactor(), 107 116 totalRotationAngle(0), lastRotationAngle(0), rotationAngle(0), 108 117 isNewSequence(true) … … 138 147 verticalDirection(QSwipeGesture::NoDirection), 139 148 swipeAngle(0), 140 started(false), speed(0)149 started(false), (0) 141 150 { 142 151 } 152 153 154 143 155 144 156 QSwipeGesture::SwipeDirection horizontalDirection; … … 148 160 QPoint lastPositions[3]; 149 161 bool started; 150 qreal speed;151 Q Timetime;162 qreal ; 163 Q time; 152 164 }; 153 165 … … 176 188 QPointF position; 177 189 int timerId; 190 178 191 }; 179 192 180 193 QT_END_NAMESPACE 181 194 195 196 182 197 #endif // QGESTURE_P_H
Note:
See TracChangeset
for help on using the changeset viewer.