Changeset 846 for trunk/src/gui/kernel/qgesture.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.h
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation (qt-info@nokia.com) … … 50 50 #include <QtCore/qmetatype.h> 51 51 52 #ifndef QT_NO_GESTURES 53 52 54 QT_BEGIN_HEADER 53 55 54 56 Q_DECLARE_METATYPE(Qt::GestureState) 57 Q_DECLARE_METATYPE(Qt::GestureType) 55 58 56 59 QT_BEGIN_NAMESPACE … … 111 114 Q_PROPERTY(QPointF delta READ delta STORED false) 112 115 Q_PROPERTY(qreal acceleration READ acceleration WRITE setAcceleration) 116 Q_PRIVATE_PROPERTY(QPanGesture::d_func(), qreal horizontalVelocity READ horizontalVelocity WRITE setHorizontalVelocity) 117 Q_PRIVATE_PROPERTY(QPanGesture::d_func(), qreal verticalVelocity READ verticalVelocity WRITE setVerticalVelocity) 113 118 114 119 public: … … 133 138 Q_OBJECT 134 139 Q_DECLARE_PRIVATE(QPinchGesture) 140 Q_FLAGS(ChangeFlags ChangeFlag) 135 141 136 142 public: … … 190 196 }; 191 197 198 Q_DECLARE_OPERATORS_FOR_FLAGS(QPinchGesture::ChangeFlags) 199 192 200 QT_END_NAMESPACE 193 201 … … 206 214 Q_PROPERTY(SwipeDirection verticalDirection READ verticalDirection STORED false) 207 215 Q_PROPERTY(qreal swipeAngle READ swipeAngle WRITE setSwipeAngle) 216 Q_PRIVATE_PROPERTY(QSwipeGesture::d_func(), qreal velocity READ velocity WRITE setVelocity) 208 217 209 218 public: … … 251 260 void setPosition(const QPointF &pos); 252 261 262 static void setTimeout(int msecs); 263 static int timeout(); 264 253 265 friend class QTapAndHoldGestureRecognizer; 254 266 }; … … 259 271 QT_END_HEADER 260 272 273 #endif // QT_NO_GESTURES 274 261 275 #endif // QGESTURE_H
Note:
See TracChangeset
for help on using the changeset viewer.