DigitalProperty Class Reference
[Digital Properties]

Class DigitalProperty. More...

#include <DigitalProperty.h>

Inherits DigitalProperties.

Inheritance diagram for DigitalProperty:

Inheritance graph
[legend]
Collaboration diagram for DigitalProperty:

Collaboration graph
[legend]
List of all members.

Public Slots

void updateProperty (QVariant pProperty)
 Slot.
void updateFromGUI (int)
 Slot.
void updateFromGUI (bool)
 Slot.

Signals

void PropertyUpdated (QVariant pProperty)
 emitted when outcoming value processed by the digital property component changed.
void PropertyUpdated (QVariant *pProperty)
 emitted when outcoming value processed by the digital property component changed, provided because some connections needs a pointer.
void updated (int, QTime)
 emitted when outcoming value processed by the digital property component changed, provided because some connections (like GUI slider) cannot handle QVariant and need int.
void updated (bool, QTime)
 emitted when outcoming value processed by the digital property component changed, provided because some connections (like GUI check box) cannot handle QVariant and need bool.

Public Member Functions

 DigitalProperty (char *, char *)
 Constructor.
 DigitalProperty (char *, QVariant::Type)
 Constructor.
 ~DigitalProperty ()
 Destructor.
QVariant GetProperty () const
 Getter.
void SetProperty (QVariant pProperty)
 Setter.
QVariant::Type GetType () const
 Getter.

Properties

QVariant _property
 _property is QVariant (generic) type. For more documentation on QVariant, see http://doc.trolltech.com/4.2/qvariant.html .

Detailed Description

Class DigitalProperty.

This class define one generic digital property of a mixed object.


Constructor & Destructor Documentation

DigitalProperty::DigitalProperty ( char *  pName,
char *  pType 
)

Constructor.

Parameters:
pName 
pType : type of QVariant

DigitalProperty::DigitalProperty ( char *  pName,
QVariant::Type  pType 
)

Constructor.

Parameters:
Name 


Member Function Documentation

void DigitalProperty::SetProperty ( QVariant  pProperty  ) 

Setter.

Parameters:
pProperty 

void DigitalProperty::updateProperty ( QVariant  pProperty  )  [slot]

Slot.

Parameters:
pProperty 

void DigitalProperty::updateFromGUI ( int  pProperty  )  [slot]

Slot.

Parameters:
pProperty 

void DigitalProperty::updateFromGUI ( bool  pProperty  )  [slot]

Slot.

Parameters:
pProperty 

void DigitalProperty::PropertyUpdated ( QVariant  pProperty  )  [signal]

emitted when outcoming value processed by the digital property component changed.

Parameters:
QVariant pProperty

void DigitalProperty::PropertyUpdated ( QVariant *  pProperty  )  [signal]

emitted when outcoming value processed by the digital property component changed, provided because some connections needs a pointer.

Parameters:
QVariant* pProperty

void DigitalProperty::updated ( int  ,
QTime   
) [signal]

emitted when outcoming value processed by the digital property component changed, provided because some connections (like GUI slider) cannot handle QVariant and need int.

Parameters:
int pProperty: value updated
QTime pTime: time stamp

void DigitalProperty::updated ( bool  ,
QTime   
) [signal]

emitted when outcoming value processed by the digital property component changed, provided because some connections (like GUI check box) cannot handle QVariant and need bool.

Parameters:
bool pProperty: value updated
QTime pTime: time stamp


The documentation for this class was generated from the following files:
Generated on Tue Mar 10 11:18:18 2009 for Mixed Objects by  doxygen 1.5.2