#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) |
Public Member Functions inherited from KLFConfigPropBase | |
| KLFConfigPropBase () | |
| virtual | ~KLFConfigPropBase () |
| virtual QString | propName () const |
Additional Inherited Members | |
Protected Attributes inherited from KLFConfigPropBase | |
| QString | pname |
Definition at line 115 of file klfconfigbase.h.
| typedef T KLFConfigProp< T >::Type |
Definition at line 118 of file klfconfigbase.h.
|
inline |
Definition at line 120 of file klfconfigbase.h.
|
inline |
Definition at line 217 of file klfconfigbase.h.
References KLFConfigBase::connectQObjectProperty(), KLF_ASSERT_NOT_NULL, KLFConfigPropBase::pname, and KLFConfigPropBase::propName().
|
inline |
Definition at line 230 of file klfconfigbase.h.
References KLFConfigBase::connectQObjectSlot(), KLF_ASSERT_NOT_NULL, and KLFConfigPropBase::pname.
|
inline |
Definition at line 164 of file klfconfigbase.h.
Referenced by KLFConfigProp< T >::defaultValueVariant(), KLFConfigProp< T >::initialize(), and KLFConfigProp< T >::setDefaultValue().
|
inline |
Definition at line 168 of file klfconfigbase.h.
|
inlinevirtual |
Reimplemented from KLFConfigPropBase.
Definition at line 192 of file klfconfigbase.h.
References KLFVariantConverter< T >::convert(), and KLFConfigProp< T >::defaultValue().
|
inline |
Definition at line 223 of file klfconfigbase.h.
References KLFConfigBase::disconnectQObjectProperty(), KLF_ASSERT_NOT_NULL, KLFConfigPropBase::pname, and KLFConfigPropBase::propName().
|
inline |
Definition at line 236 of file klfconfigbase.h.
References KLFConfigBase::disconnectQObjectSlot(), KLF_ASSERT_NOT_NULL, and KLFConfigPropBase::pname.
|
inline |
Definition at line 181 of file klfconfigbase.h.
|
inline |
Definition at line 198 of file klfconfigbase.h.
References KLFConfigProp< T >::defaultValue(), KLF_ASSERT_NOT_NULL, KLFConfigPropBase::pname, KLFConfigPropBase::propName(), and KLFConfigBase::registerConfigProp().
|
inline |
Definition at line 123 of file klfconfigbase.h.
References KLFConfigProp< T >::value().
|
inline |
Definition at line 140 of file klfconfigbase.h.
References KLFConfigProp< T >::value().
|
inline |
Definition at line 127 of file klfconfigbase.h.
References KLFConfigProp< T >::value().
|
inline |
Definition at line 131 of file klfconfigbase.h.
References KLFConfigProp< T >::setValue().
|
inline |
Definition at line 136 of file klfconfigbase.h.
References KLFConfigProp< T >::value().
|
inline |
Definition at line 211 of file klfconfigbase.h.
References KLFConfigProp< T >::defaultValue().
|
inlinevirtual |
Reimplemented from KLFConfigPropBase.
Definition at line 145 of file klfconfigbase.h.
References KLFConfigProp< T >::setValue().
Referenced by KLFConfigProp< T >::operator=(), and KLFConfigProp< T >::setValue().
|
inline |
Definition at line 150 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 186 of file klfconfigbase.h.
References KLFVariantConverter< T >::convert(), and KLFConfigProp< T >::value().
|
inline |
Definition at line 172 of file klfconfigbase.h.
References KLF_ASSERT_NOT_NULL, KLFConfigPropBase::pname, and KLFConfigBase::propertyValueRequested().
Referenced by KLFConfigProp< T >::operator Type(), KLFConfigProp< T >::operator!=(), KLFConfigProp< T >::operator()(), KLFConfigProp< T >::operator==(), KLFConfigProp< T >::setValue(), and KLFConfigProp< T >::toVariant().