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

#include <qgesture_p.h>

Inheritance diagram for QPanGesturePrivate:
QGesturePrivate QObjectPrivate QObjectData

Public Functions

qreal horizontalVelocity () const
 
 QPanGesturePrivate ()
 
void setHorizontalVelocity (qreal value)
 
void setVerticalVelocity (qreal value)
 
qreal verticalVelocity () 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

qreal acceleration
 
QPointF lastOffset
 
QPointF offset
 
QPoint startPosition
 
qreal xVelocity
 
qreal yVelocity
 
- 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 85 of file qgesture_p.h.

Constructors and Destructors

◆ QPanGesturePrivate()

QPanGesturePrivate::QPanGesturePrivate ( )
inline

Definition at line 90 of file qgesture_p.h.

91  : acceleration(0), xVelocity(0), yVelocity(0)
92  {
93  }

Functions

◆ horizontalVelocity()

qreal QPanGesturePrivate::horizontalVelocity ( ) const
inline

Definition at line 95 of file qgesture_p.h.

95 { return xVelocity; }

◆ setHorizontalVelocity()

void QPanGesturePrivate::setHorizontalVelocity ( qreal  value)
inline

Definition at line 96 of file qgesture_p.h.

96 { xVelocity = value; }

◆ setVerticalVelocity()

void QPanGesturePrivate::setVerticalVelocity ( qreal  value)
inline

Definition at line 98 of file qgesture_p.h.

98 { yVelocity = value; }

◆ verticalVelocity()

qreal QPanGesturePrivate::verticalVelocity ( ) const
inline

Definition at line 97 of file qgesture_p.h.

97 { return yVelocity; }

Properties

◆ acceleration

qreal QPanGesturePrivate::acceleration

◆ lastOffset

QPointF QPanGesturePrivate::lastOffset

◆ offset

QPointF QPanGesturePrivate::offset

◆ startPosition

QPoint QPanGesturePrivate::startPosition

◆ xVelocity

qreal QPanGesturePrivate::xVelocity

Definition at line 104 of file qgesture_p.h.

◆ yVelocity

qreal QPanGesturePrivate::yVelocity

Definition at line 105 of file qgesture_p.h.


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