#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 QList::begin(), QList::end(), QMetaObject::invokeMethod(), KLF_ASSERT_NOT_NULL, KLF_DEBUG_BLOCK, klfDbg, pObjConnections, pProperties, Property, Slot, KLFConfigBase::ObjConnection::target, KLFConfigPropBase::toVariant(), and QVariant::typeName().
Referenced by connectQObjectProperty(), and connectQObjectSlot().
◆ connectQObjectProperty()
void KLFConfigBase::connectQObjectProperty |
( |
const QString & | configPropertyName, |
|
|
QObject * | object, |
|
|
const QByteArray & | objPropName ) |
|
virtual |
◆ 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.
References connectQObject(), and Slot.
◆ disconnectQObject() [1/2]
◆ disconnectQObject() [2/2]
void KLFConfigBase::disconnectQObject |
( |
QObject * | object | ) |
|
|
virtual |
◆ 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: