Qt 4.8
Public Functions | Properties | Friends | List of all members
QDeclarativeTimeLineValue Class Reference

The QDeclarativeTimeLineValue class provides a value that can be modified by QDeclarativeTimeLine. More...

#include <qdeclarativetimeline_p_p.h>

Inheritance diagram for QDeclarativeTimeLineValue:
QDeclarativeTimeLineObject QDeclarativeFlickablePrivate::Velocity QDeclarativeTimeLineValueProxy< T > QDeclarativeTimeLineValueProxy< QDeclarativeFlickablePrivate > QDeclarativeTimeLineValueProxy< QDeclarativePathViewPrivate >

Public Functions

 operator qreal () const
 
QDeclarativeTimeLineValueoperator= (qreal v)
 
 QDeclarativeTimeLineValue (qreal v=0.)
 Construct a new QDeclarativeTimeLineValue with an initial value. More...
 
virtual void setValue (qreal v)
 Set the current 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 ()
 

Properties

qreal _v
 

Friends

class QDeclarativeTimeLine
 
struct QDeclarativeTimeLinePrivate
 

Additional Inherited Members

- Protected Variables inherited from QDeclarativeTimeLineObject
QDeclarativeTimeLine_t
 

Detailed Description

The QDeclarativeTimeLineValue class provides a value that can be modified by QDeclarativeTimeLine.

Warning
This function is not part of the public interface.

Definition at line 132 of file qdeclarativetimeline_p_p.h.

Constructors and Destructors

◆ QDeclarativeTimeLineValue()

QDeclarativeTimeLineValue::QDeclarativeTimeLineValue ( qreal  v = 0.)
inline

Construct a new QDeclarativeTimeLineValue with an initial value.

Definition at line 135 of file qdeclarativetimeline_p_p.h.

Functions

◆ operator qreal()

QDeclarativeTimeLineValue::operator qreal ( ) const
inline

Definition at line 142 of file qdeclarativetimeline_p_p.h.

◆ operator=()

QDeclarativeTimeLineValue& QDeclarativeTimeLineValue::operator= ( qreal  v)
inline

Definition at line 143 of file qdeclarativetimeline_p_p.h.

143 { setValue(v); return *this; }
virtual void setValue(qreal v)
Set the current value.

◆ setValue()

void QDeclarativeTimeLineValue::setValue ( qreal  v)
inlinevirtual

◆ timeLine()

QDeclarativeTimeLine * QDeclarativeTimeLineValue::timeLine ( ) const
inline

If a QDeclarativeTimeLine is operating on this value, return a pointer to it, otherwise return null.

Definition at line 140 of file qdeclarativetimeline_p_p.h.

140 { return _t; }

◆ value()

qreal QDeclarativeTimeLineValue::value ( ) const
inlinevirtual

Friends and Related Functions

◆ QDeclarativeTimeLine

friend class QDeclarativeTimeLine
friend

Definition at line 145 of file qdeclarativetimeline_p_p.h.

◆ QDeclarativeTimeLinePrivate

friend struct QDeclarativeTimeLinePrivate
friend

Definition at line 146 of file qdeclarativetimeline_p_p.h.

Properties

◆ _v

qreal QDeclarativeTimeLineValue::_v
private

Definition at line 147 of file qdeclarativetimeline_p_p.h.


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