Qt 4.8
Public Functions | Public Variables | List of all members
QSwipeGesturePrivate Class Reference

#include <qgesture_p.h>

Inheritance diagram for QSwipeGesturePrivate:
QGesturePrivate QObjectPrivate QObjectData

Public Functions

 QSwipeGesturePrivate ()
 
void setVelocity (qreal value)
 
qreal velocity () const
 
- Public Functions inherited from QGesturePrivate
 QGesturePrivate ()
 
- Public Functions inherited from QObjectPrivate
void _q_reregisterTimers (void *pointer)
 
void addConnection (int signal, Connection *c)
 
void cleanConnectionLists ()
 
void connectNotify (const char *signal)
 
void deleteChildren ()
 
void disconnectNotify (const char *signal)
 
bool isSender (const QObject *receiver, const char *signal) const
 
bool isSignalConnected (uint signalIdx) const
 Returns true if the signal with index signal_index from object sender is connected. More...
 
void moveToThread_helper ()
 
 QObjectPrivate (int version=QObjectPrivateVersion)
 
QObjectList receiverList (const char *signal) const
 
QObjectList senderList () const
 
void setParent_helper (QObject *)
 
void setThreadData_helper (QThreadData *currentData, QThreadData *targetData)
 
int signalIndex (const char *signalName) const
 Returns the signal index used in the internal connectionLists vector. More...
 
virtual ~QObjectPrivate ()
 
- Public Functions inherited from QObjectData
virtual ~QObjectData ()=0
 

Public Variables

QSwipeGesture::SwipeDirection horizontalDirection
 
QPoint lastPositions [3]
 
bool started
 
qreal swipeAngle
 
QElapsedTimer time
 
qreal velocityValue
 
QSwipeGesture::SwipeDirection verticalDirection
 
- Public Variables inherited from QGesturePrivate
uint gestureCancelPolicy: 2
 
Qt::GestureType gestureType
 
QPointF hotSpot
 
uint isHotSpotSet: 1
 
QPointF sceneHotSpot
 
Qt::GestureState state
 
- Public Variables inherited from QObjectPrivate
union {
   QObject *   currentChildBeingDeleted
 
   QAbstractDeclarativeData *   declarativeData
 
}; 
 
quint32 connectedSignals [2]
 
QObjectConnectionListVectorconnectionLists
 
SendercurrentSender
 
QList< QPointer< QObject > > eventFilters
 
ExtraDataextraData
 
QString objectName
 
Connectionsenders
 
QAtomicPointer< QtSharedPointer::ExternalRefCountData > sharedRefcount
 
QThreadDatathreadData
 
void * unused
 
- Public Variables inherited from QObjectData
uint blockSig: 1
 
QObjectList children
 
uint hasGuards: 1
 
uint inEventHandler: 1
 
uint inThreadChangeEvent: 1
 
uint isWidget: 1
 
QMetaObjectmetaObject
 
uint ownObjectName: 1
 
QObjectparent
 
uint pendTimer: 1
 
int postedEvents
 
QObjectq_ptr
 
uint receiveChildEvents: 1
 
uint sendChildEvents: 1
 
uint unused: 22
 
uint wasDeleted: 1
 

Additional Inherited Members

- Public Types inherited from QObjectPrivate
typedef void(* StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **)
 
- Static Public Functions inherited from QObjectPrivate
static void clearGuards (QObject *)
 
static QObjectPrivateget (QObject *o)
 
static void resetCurrentSender (QObject *receiver, Sender *currentSender, Sender *previousSender)
 
static SendersetCurrentSender (QObject *receiver, Sender *sender)
 
static void signalSignature (const QMetaMethod &signal, QVarLengthArray< char > *result)
 

Detailed Description

Definition at line 140 of file qgesture_p.h.

Constructors and Destructors

◆ QSwipeGesturePrivate()

QSwipeGesturePrivate::QSwipeGesturePrivate ( )
inline

Definition at line 145 of file qgesture_p.h.

148  swipeAngle(0),
149  started(false), velocityValue(0)
150  {
151  }
QSwipeGesture::SwipeDirection horizontalDirection
Definition: qgesture_p.h:156
QSwipeGesture::SwipeDirection verticalDirection
Definition: qgesture_p.h:157

Functions

◆ setVelocity()

void QSwipeGesturePrivate::setVelocity ( qreal  value)
inline

Definition at line 154 of file qgesture_p.h.

154 { velocityValue = value; }

◆ velocity()

qreal QSwipeGesturePrivate::velocity ( ) const
inline

Definition at line 153 of file qgesture_p.h.

153 { return velocityValue; }

Properties

◆ horizontalDirection

QSwipeGesture::SwipeDirection QSwipeGesturePrivate::horizontalDirection

◆ lastPositions

QPoint QSwipeGesturePrivate::lastPositions[3]

◆ started

bool QSwipeGesturePrivate::started

◆ swipeAngle

qreal QSwipeGesturePrivate::swipeAngle

◆ time

QElapsedTimer QSwipeGesturePrivate::time

◆ velocityValue

qreal QSwipeGesturePrivate::velocityValue

◆ verticalDirection

QSwipeGesture::SwipeDirection QSwipeGesturePrivate::verticalDirection

The documentation for this class was generated from the following file: