|
Krita Source Code Documentation
|
#include <kis_locked_properties.h>
Inheritance diagram for KisLockedProperties:Public Member Functions | |
| void | addToLockedProperties (const KisPropertiesConfiguration *p) |
| void | addToLockedProperties (KisPropertiesConfigurationSP p) |
| bool | hasProperty (const QString &p) |
| KisLockedProperties () | |
| KisPropertiesConfigurationSP | lockedProperties () |
| void | removeFromLockedProperties (const KisPropertiesConfiguration *p) |
| void | removeFromLockedProperties (KisPropertiesConfigurationSP p) |
| ~KisLockedProperties () | |
Public Member Functions inherited from KisShared | |
| bool | deref () |
| bool | ref () |
| int | refCount () |
| QAtomicInt * | sharedWeakReference () |
Private Attributes | |
| KisPropertiesConfigurationSP | m_lockedProperties |
Additional Inherited Members | |
Protected Member Functions inherited from KisShared | |
| KisShared () | |
| ~KisShared () | |
This class maintains a list of all the PaintOp Options that are supposed to be constant across all paintops and presets. addToLockedProperties() adds all the settings mentioned in the parameter to the list removeFromLockedProperties() removes a particular set of properties from the list hasProperty() checks for a particular property in the list
Definition at line 19 of file kis_locked_properties.h.
| KisLockedProperties::KisLockedProperties | ( | ) |
Definition at line 10 of file kis_locked_properties.cc.
References m_lockedProperties.
| KisLockedProperties::~KisLockedProperties | ( | ) |
Definition at line 15 of file kis_locked_properties.cc.
| void KisLockedProperties::addToLockedProperties | ( | const KisPropertiesConfiguration * | p | ) |
Definition at line 24 of file kis_locked_properties.cc.
References m_lockedProperties, and p.
| void KisLockedProperties::addToLockedProperties | ( | KisPropertiesConfigurationSP | p | ) |
Whenever any setting is made locked
Definition at line 19 of file kis_locked_properties.cc.
References addToLockedProperties(), and p.
| bool KisLockedProperties::hasProperty | ( | const QString & | p | ) |
Definition at line 57 of file kis_locked_properties.cc.
References m_lockedProperties, and p.
| KisPropertiesConfigurationSP KisLockedProperties::lockedProperties | ( | ) |
Definition at line 62 of file kis_locked_properties.cc.
References m_lockedProperties.
| void KisLockedProperties::removeFromLockedProperties | ( | const KisPropertiesConfiguration * | p | ) |
Definition at line 38 of file kis_locked_properties.cc.
References m_lockedProperties, and p.
| void KisLockedProperties::removeFromLockedProperties | ( | KisPropertiesConfigurationSP | p | ) |
Whenever any property is unlocked
Definition at line 33 of file kis_locked_properties.cc.
References p, and removeFromLockedProperties().
|
private |
Definition at line 38 of file kis_locked_properties.h.