#include <klfconfigbase.h>
Public Types | |
typedef T | Type |
Public Member Functions | |
KLFConfigProp () | |
operator Type () const | |
const Type | operator() () const |
const Type & | operator= (const Type &newvalue) |
bool | operator== (const Type &compareValue) const |
bool | operator!= (const Type &compareValue) const |
bool | setValue (const QVariant &newvalue) |
bool | setValue (const Type &newvalue) |
Type | defaultValue () const |
bool | defaultValueDefinite () const |
Type | value () const |
bool | hasValue () const |
virtual QVariant | toVariant () const |
virtual QVariant | defaultValueVariant () const |
void | initialize (KLFConfigBase *confptr, const QString &propName, const Type &defaultValue, bool isDefaultValueDefinite=true) |
void | setDefaultValue (const Type &defaultValue) |
void | connectQObjectProperty (QObject *object, const QByteArray &propName) |
void | disconnectQObjectProperty (QObject *object, const QByteArray &propName) |
void | connectQObjectSlot (QObject *object, const QByteArray &slotName) |
void | disconnectQObjectSlot (QObject *object, const QByteArray &slotName) |
![]() | |
KLFConfigPropBase () | |
virtual | ~KLFConfigPropBase () |
virtual QString | propName () const |
Additional Inherited Members | |
![]() | |
QString | pname |
Definition at line 114 of file klfconfigbase.h.
typedef T KLFConfigProp< T >::Type |
Definition at line 117 of file klfconfigbase.h.
|
inline |
Definition at line 119 of file klfconfigbase.h.
|
inline |
Definition at line 216 of file klfconfigbase.h.
References KLFConfigBase::connectQObjectProperty(), KLF_ASSERT_NOT_NULL, KLFConfigPropBase::pname, and KLFConfigPropBase::propName().
|
inline |
Definition at line 229 of file klfconfigbase.h.
References KLFConfigBase::connectQObjectSlot(), KLF_ASSERT_NOT_NULL, and KLFConfigPropBase::pname.
|
inline |
Definition at line 163 of file klfconfigbase.h.
Referenced by KLFConfigProp< T >::defaultValueVariant(), KLFConfigProp< T >::initialize(), and KLFConfigProp< T >::setDefaultValue().
|
inline |
Definition at line 167 of file klfconfigbase.h.
|
inlinevirtual |
Reimplemented from KLFConfigPropBase.
Definition at line 191 of file klfconfigbase.h.
References KLFVariantConverter< T >::convert(), and KLFConfigProp< T >::defaultValue().
|
inline |
Definition at line 222 of file klfconfigbase.h.
|
inline |
Definition at line 235 of file klfconfigbase.h.
|
inline |
Definition at line 180 of file klfconfigbase.h.
|
inline |
Definition at line 197 of file klfconfigbase.h.
References KLFConfigProp< T >::defaultValue(), KLF_ASSERT_NOT_NULL, KLFConfigPropBase::pname, KLFConfigPropBase::propName(), and KLFConfigBase::registerConfigProp().
|
inline |
Definition at line 122 of file klfconfigbase.h.
References KLFConfigProp< T >::value().
|
inline |
Definition at line 139 of file klfconfigbase.h.
|
inline |
Definition at line 126 of file klfconfigbase.h.
|
inline |
Definition at line 130 of file klfconfigbase.h.
|
inline |
Definition at line 135 of file klfconfigbase.h.
|
inline |
Definition at line 210 of file klfconfigbase.h.
References KLFConfigProp< T >::defaultValue().
|
inlinevirtual |
Reimplemented from KLFConfigPropBase.
Definition at line 144 of file klfconfigbase.h.
|
inline |
Definition at line 149 of file klfconfigbase.h.
References KLF_ASSERT_NOT_NULL, KLFConfigBase::okChangeProperty(), KLFConfigPropBase::pname, KLFConfigBase::propertyChanged(), and KLFConfigProp< T >::value().
|
inlinevirtual |
Implements KLFConfigPropBase.
Definition at line 185 of file klfconfigbase.h.
References KLFVariantConverter< T >::convert(), and KLFConfigProp< T >::value().
|
inline |
Definition at line 171 of file klfconfigbase.h.
Referenced by KLFConfigProp< T >::operator Type(), KLFConfigProp< T >::setValue(), and KLFConfigProp< T >::toVariant().