Ignore:
Timestamp:
May 5, 2011, 5:36:53 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/gui/kernel/qgesture_p.h

    r651 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation ([email protected])
     
    5656#include "qrect.h"
    5757#include "qpoint.h"
    58 #include "qdatetime.h"
    5958#include "qgesture.h"
     59
    6060#include "private/qobject_p.h"
     61
     62
    6163
    6264QT_BEGIN_NAMESPACE
     
    7072        : gestureType(Qt::CustomGesture), state(Qt::NoGesture),
    7173          isHotSpotSet(false), gestureCancelPolicy(0)
    72 
    7374    {
    7475    }
     
    7778    Qt::GestureState state;
    7879    QPointF hotSpot;
     80
    7981    uint isHotSpotSet : 1;
    8082    uint gestureCancelPolicy : 2;
     
    8789public:
    8890    QPanGesturePrivate()
    89         : acceleration(0)
     91        : acceleration(0)
    9092    {
    9193    }
     94
     95
     96
     97
     98
    9299
    93100    QPointF lastOffset;
     
    95102    QPoint startPosition;
    96103    qreal acceleration;
     104
     105
    97106};
    98107
     
    104113    QPinchGesturePrivate()
    105114        : totalChangeFlags(0), changeFlags(0),
    106           totalScaleFactor(0), lastScaleFactor(0), scaleFactor(0),
     115          totalScaleFactor(),
    107116          totalRotationAngle(0), lastRotationAngle(0), rotationAngle(0),
    108117          isNewSequence(true)
     
    138147          verticalDirection(QSwipeGesture::NoDirection),
    139148          swipeAngle(0),
    140           started(false), speed(0)
     149          started(false), (0)
    141150    {
    142151    }
     152
     153
     154
    143155
    144156    QSwipeGesture::SwipeDirection horizontalDirection;
     
    148160    QPoint lastPositions[3];
    149161    bool started;
    150     qreal speed;
    151     QTime time;
     162    qreal ;
     163    Q time;
    152164};
    153165
     
    176188    QPointF position;
    177189    int timerId;
     190
    178191};
    179192
    180193QT_END_NAMESPACE
    181194
     195
     196
    182197#endif // QGESTURE_P_H
Note: See TracChangeset for help on using the changeset viewer.