#include <klfconfigbase.h>
|
virtual bool | okChangeProperty (KLFConfigPropBase *property, const QVariant &oldValue, const QVariant &newValue) |
|
virtual void | propertyChanged (KLFConfigPropBase *property, const QVariant &oldValue, const QVariant &newValue) |
|
virtual void | propertyValueRequested (const KLFConfigPropBase *property) |
|
virtual void | connectQObjectProperty (const QString &configPropertyName, QObject *object, const QByteArray &objPropName) |
|
virtual void | disconnectQObjectProperty (const QString &configPropertyName, QObject *object, const QByteArray &objPropName) |
|
virtual void | connectQObjectSlot (const QString &configPropertyName, QObject *object, const QByteArray &slotMethodName) |
|
virtual void | disconnectQObjectSlot (const QString &configPropertyName, QObject *object, const QByteArray &slotMethodName) |
|
virtual void | disconnectQObject (QObject *object) |
|
virtual QStringList | propertyList () const |
|
KLFConfigPropBase * | property (const QString &name) |
|
void | registerConfigProp (KLFConfigPropBase *p) |
|
Definition at line 53 of file klfconfigbase.h.
◆ ConnectionTarget
◆ connectQObject()
Definition at line 91 of file klfconfigbase.cpp.
References QByteArray::append(), QList::begin(), QList::end(), QMetaObject::invokeMethod(), KLF_ASSERT_NOT_NULL, KLF_DEBUG_BLOCK, KLF_FUNC_NAME, klfDbg, KLFConfigBase::ObjConnection::target, KLFConfigPropBase::toVariant(), and QVariant::typeName().
◆ connectQObjectProperty()
void KLFConfigBase::connectQObjectProperty |
( |
const QString & |
configPropertyName, |
|
|
QObject * |
object, |
|
|
const QByteArray & |
objPropName |
|
) |
| |
|
virtual |
- Warning
- The caller must garantee that
object
will not be destroyed! If this will be the case, disconnect it first with disconnectQObjectProperty() !
- Note
- the
object's
property objPropName
is initialized to the current configuration value.
Definition at line 70 of file klfconfigbase.cpp.
◆ connectQObjectSlot()
void KLFConfigBase::connectQObjectSlot |
( |
const QString & |
configPropertyName, |
|
|
QObject * |
object, |
|
|
const QByteArray & |
slotMethodName |
|
) |
| |
|
virtual |
- Warning
- The caller must garantee that
object
will not be destroyed! If this will be the case, disconnect it first with disconnectQObjectProperty() !
- Note
- the
object's
slot slotMethodName
is called immediately, too, with the current configuration value.
Definition at line 75 of file klfconfigbase.cpp.
◆ disconnectQObject() [1/2]
void KLFConfigBase::disconnectQObject |
( |
QObject * |
object | ) |
|
|
virtual |
◆ disconnectQObject() [2/2]
◆ disconnectQObjectProperty()
void KLFConfigBase::disconnectQObjectProperty |
( |
const QString & |
configPropertyName, |
|
|
QObject * |
object, |
|
|
const QByteArray & |
objPropName |
|
) |
| |
|
virtual |
◆ disconnectQObjectSlot()
void KLFConfigBase::disconnectQObjectSlot |
( |
const QString & |
configPropertyName, |
|
|
QObject * |
object, |
|
|
const QByteArray & |
slotMethodName |
|
) |
| |
|
virtual |
◆ okChangeProperty()
◆ property()
◆ propertyChanged()
◆ propertyList()
◆ propertyValueRequested()
◆ registerConfigProp()
◆ pObjConnections
◆ pProperties
The documentation for this class was generated from the following files: