Qt 4.8
Public Functions | Properties | List of all members
QDeclarativeTimeLineValueProxy< T > Class Template Reference

#include <qdeclarativetimeline_p_p.h>

Inheritance diagram for QDeclarativeTimeLineValueProxy< T >:
QDeclarativeTimeLineValue QDeclarativeTimeLineObject

Public Functions

 QDeclarativeTimeLineValueProxy (T *cls, void(T::*func)(qreal), qreal v=0.)
 
 QDeclarativeTimeLineValueProxy (T *cls, void(T::*func)(int), qreal v=0.)
 
virtual void setValue (qreal v)
 Set the current value. More...
 
- 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 ()
 

Properties

T * _class
 
void(T::* _setFunctionInt )(int)
 
void(T::* _setFunctionReal )(qreal)
 

Additional Inherited Members

- Protected Variables inherited from QDeclarativeTimeLineObject
QDeclarativeTimeLine_t
 

Detailed Description

template<class T>
class QDeclarativeTimeLineValueProxy< T >

Definition at line 170 of file qdeclarativetimeline_p_p.h.

Constructors and Destructors

◆ QDeclarativeTimeLineValueProxy() [1/2]

template<class T>
QDeclarativeTimeLineValueProxy< T >::QDeclarativeTimeLineValueProxy ( T *  cls,
void(T::*)(qreal func,
qreal  v = 0. 
)
inline

Definition at line 173 of file qdeclarativetimeline_p_p.h.

175  {
176  Q_ASSERT(_class);
177  }
QDeclarativeTimeLineValue(qreal v=0.)
Construct a new QDeclarativeTimeLineValue with an initial value.
#define Q_ASSERT(cond)
Definition: qglobal.h:1823

◆ QDeclarativeTimeLineValueProxy() [2/2]

template<class T>
QDeclarativeTimeLineValueProxy< T >::QDeclarativeTimeLineValueProxy ( T *  cls,
void(T::*)(int)  func,
qreal  v = 0. 
)
inline

Definition at line 179 of file qdeclarativetimeline_p_p.h.

181  {
182  Q_ASSERT(_class);
183  }
QDeclarativeTimeLineValue(qreal v=0.)
Construct a new QDeclarativeTimeLineValue with an initial value.
#define Q_ASSERT(cond)
Definition: qglobal.h:1823

Functions

◆ setValue()

template<class T>
virtual void QDeclarativeTimeLineValueProxy< T >::setValue ( qreal  v)
inlinevirtual

Set the current value.

Reimplemented from QDeclarativeTimeLineValue.

Definition at line 185 of file qdeclarativetimeline_p_p.h.

Properties

◆ _class

template<class T>
T* QDeclarativeTimeLineValueProxy< T >::_class
private

Definition at line 193 of file qdeclarativetimeline_p_p.h.

◆ _setFunctionInt

template<class T>
void(T::* QDeclarativeTimeLineValueProxy< T >::_setFunctionInt) (int)
private

Definition at line 195 of file qdeclarativetimeline_p_p.h.

◆ _setFunctionReal

template<class T>
void(T::* QDeclarativeTimeLineValueProxy< T >::_setFunctionReal) (qreal)
private

Definition at line 194 of file qdeclarativetimeline_p_p.h.


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