#include <klfpobj.h>
Public Types | |
typedef T | Type |
Public Member Functions | |
KLFPObjPropRef (KLFPropertizedObject *pobj, int propId) | |
KLFPObjPropRef (const KLFPObjPropRef &other) | |
KLFPObjPropRef (KLFPropertizedObject *pobj, int builtInPropId, const QString &pname) | |
KLFPObjPropRef (KLFPropertizedObject *pobj, int builtInPropId, const QString &pname, const T &value) | |
operator QVariant () const | |
operator T () const | |
const T | operator() () const |
const KLFPObjPropRef & | operator= (const QVariant &v) |
const KLFPObjPropRef & | operator= (const T &value) |
const KLFPObjPropRef & | operator= (const KLFPObjPropRef &value) |
QVariant | variantValue () const |
const T | value () const |
template<class VariantType > | |
const T | value () const |
template<class VariantType > | |
void | set (const T &value) |
void | set (const T &value) |
template<class VariantType > | |
bool | equals (const KLFPObjPropRef &other) const |
bool | equals (const KLFPObjPropRef &other) const |
bool | operator== (const T &val) const |
bool | operator== (const KLFPObjPropRef &other) const |
typedef T KLFPObjPropRef< T >::Type |
KLFPObjPropRef< T >::KLFPObjPropRef | ( | KLFPropertizedObject * | pobj, |
int | propId | ||
) | [inline] |
KLFPObjPropRef< T >::KLFPObjPropRef | ( | const KLFPObjPropRef< T > & | other | ) | [inline] |
KLFPObjPropRef< T >::KLFPObjPropRef | ( | KLFPropertizedObject * | pobj, |
int | builtInPropId, | ||
const QString & | pname | ||
) | [inline] |
Constructs the object and automatically registers the given property in pobj
as a built-in property.
KLFPObjPropRef< T >::KLFPObjPropRef | ( | KLFPropertizedObject * | pobj, |
int | builtInPropId, | ||
const QString & | pname, | ||
const T & | value | ||
) | [inline] |
Constructs the object and automatically registers the given property in pobj
as a built-in property. Initializes the property's value to value
.
bool KLFPObjPropRef< T >::equals | ( | const KLFPObjPropRef< T > & | other | ) | const [inline] |
Definition at line 852 of file klfpobj.h.
References KLFPObjPropRef< T >::value().
bool KLFPObjPropRef< T >::equals | ( | const KLFPObjPropRef< T > & | other | ) | const [inline] |
KLFPObjPropRef< T >::operator QVariant | ( | ) | const [inline] |
KLFPObjPropRef< T >::operator T | ( | ) | const [inline] |
const T KLFPObjPropRef< T >::operator() | ( | ) | const [inline] |
const KLFPObjPropRef& KLFPObjPropRef< T >::operator= | ( | const QVariant & | v | ) | [inline] |
const KLFPObjPropRef& KLFPObjPropRef< T >::operator= | ( | const T & | value | ) | [inline] |
const KLFPObjPropRef& KLFPObjPropRef< T >::operator= | ( | const KLFPObjPropRef< T > & | value | ) | [inline] |
Definition at line 819 of file klfpobj.h.
References KLFPObjPropRef< T >::value().
bool KLFPObjPropRef< T >::operator== | ( | const T & | val | ) | const [inline] |
bool KLFPObjPropRef< T >::operator== | ( | const KLFPObjPropRef< T > & | other | ) | const [inline] |
Definition at line 865 of file klfpobj.h.
References KLFPObjPropRef< T >::value().
void KLFPObjPropRef< T >::set | ( | const T & | value | ) | [inline] |
void KLFPObjPropRef< T >::set | ( | const T & | value | ) | [inline] |
const T KLFPObjPropRef< T >::value | ( | ) | const [inline] |
Definition at line 829 of file klfpobj.h.
Referenced by KLFPObjPropRef< T >::equals(), KLFPObjPropRef< T >::operator=(), and KLFPObjPropRef< T >::operator==().
const T KLFPObjPropRef< T >::value | ( | ) | const [inline] |
Definition at line 835 of file klfpobj.h.
References QVariant::value().
QVariant KLFPObjPropRef< T >::variantValue | ( | ) | const [inline] |