Qt 4.8
Public Functions | Public Variables | List of all members
QDeclarativeFlickablePrivate::Velocity Struct Reference

#include <qdeclarativeflickable_p_p.h>

Inheritance diagram for QDeclarativeFlickablePrivate::Velocity:
QDeclarativeTimeLineValue QDeclarativeTimeLineObject

Public Functions

virtual void setValue (qreal v)
 Set the current value. More...
 
 Velocity (QDeclarativeFlickablePrivate *p)
 
- Public Functions inherited from QDeclarativeTimeLineValue
 operator qreal () const
 
QDeclarativeTimeLineValueoperator= (qreal v)
 
 QDeclarativeTimeLineValue (qreal v=0.)
 Construct a new QDeclarativeTimeLineValue with an initial value. More...
 
QDeclarativeTimeLinetimeLine () const
 If a QDeclarativeTimeLine is operating on this value, return a pointer to it, otherwise return null. More...
 
virtual qreal value () const
 Return the current value. More...
 
- Public Functions inherited from QDeclarativeTimeLineObject
 QDeclarativeTimeLineObject ()
 
virtual ~QDeclarativeTimeLineObject ()
 

Public Variables

QDeclarativeFlickablePrivateparent
 

Additional Inherited Members

- Protected Variables inherited from QDeclarativeTimeLineObject
QDeclarativeTimeLine_t
 

Detailed Description

Definition at line 86 of file qdeclarativeflickable_p_p.h.

Constructors and Destructors

◆ Velocity()

QDeclarativeFlickablePrivate::Velocity::Velocity ( QDeclarativeFlickablePrivate p)
inline

Definition at line 88 of file qdeclarativeflickable_p_p.h.

89  : parent(p) {}

Functions

◆ setValue()

virtual void QDeclarativeFlickablePrivate::Velocity::setValue ( qreal  v)
inlinevirtual

Set the current value.

Reimplemented from QDeclarativeTimeLineValue.

Definition at line 90 of file qdeclarativeflickable_p_p.h.

90  {
91  if (v != value()) {
94  }
95  }
virtual qreal value() const
Return the current value.
virtual void setValue(qreal v)
Set the current value.

Properties

◆ parent

QDeclarativeFlickablePrivate* QDeclarativeFlickablePrivate::Velocity::parent

Definition at line 96 of file qdeclarativeflickable_p_p.h.

Referenced by setValue().


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