#include "kis_asl_callback_object_catcher.h"
#include <QHash>
#include <QColor>
#include <QPointF>
#include <QString>
#include <KoColor.h>
#include "kis_debug.h"
Go to the source code of this file.
|
| typedef QHash< QString, ASLCallbackBoolean > | MapHashBoolean |
| |
| typedef QHash< QString, ASLCallbackColor > | MapHashColor |
| |
| typedef QHash< QString, ASLCallbackCurve > | MapHashCurve |
| |
| typedef QHash< QString, ASLCallbackDouble > | MapHashDouble |
| |
| typedef QHash< QString, EnumMapping > | MapHashEnum |
| |
| typedef QHash< QString, ASLCallbackGradient > | MapHashGradient |
| |
| typedef QHash< QString, ASLCallbackInteger > | MapHashInt |
| |
| typedef QHash< QString, ASLCallbackPattern > | MapHashPattern |
| |
| typedef QHash< QString, ASLCallbackPatternRef > | MapHashPatternRef |
| |
| typedef QHash< QString, ASLCallbackPoint > | MapHashPoint |
| |
| typedef QHash< QString, ASLCallbackRawData > | MapHashRawData |
| |
| typedef QHash< QString, ASLCallbackRect > | MapHashRect |
| |
| typedef QHash< QString, ASLCallbackString > | MapHashText |
| |
| typedef QHash< QString, ASLCallbackTransform > | MapHashTransform |
| |
| typedef QHash< QString, UnitFloatMapping > | MapHashUnitFloat |
| |
| typedef QHash< QString, UnitRectMapping > | MapHashUnitRect |
| |
|
| template<class HashType , typename T > |
| void | passToCallback (const QString &path, const HashType &hash, const T &value) |
| |
| template<class HashType , typename T1 , typename T2 > |
| void | passToCallback (const QString &path, const HashType &hash, const T1 &value1, const T2 &value2) |
| |
◆ MapHashBoolean
◆ MapHashColor
◆ MapHashCurve
◆ MapHashDouble
◆ MapHashEnum
◆ MapHashGradient
◆ MapHashInt
◆ MapHashPattern
◆ MapHashPatternRef
◆ MapHashPoint
◆ MapHashRawData
◆ MapHashRect
◆ MapHashText
◆ MapHashTransform
◆ MapHashUnitFloat
◆ MapHashUnitRect
◆ passToCallback() [1/2]
template<class HashType , typename T >
| void passToCallback |
( |
const QString & | path, |
|
|
const HashType & | hash, |
|
|
const T & | value ) |
|
inline |
Definition at line 104 of file kis_asl_callback_object_catcher.cpp.
105{
106 typename HashType::const_iterator it = hash.constFind(path);
107 if (it != hash.constEnd()) {
109 } else {
111 }
112}
float value(const T *src, size_t ch)
const char * name(StandardAction id)
References value(), and warnKrita.
◆ passToCallback() [2/2]
template<class HashType , typename T1 , typename T2 >
| void passToCallback |
( |
const QString & | path, |
|
|
const HashType & | hash, |
|
|
const T1 & | value1, |
|
|
const T2 & | value2 ) |
|
inline |
Definition at line 115 of file kis_asl_callback_object_catcher.cpp.
116{
117 typename HashType::const_iterator it = hash.constFind(path);
118 if (it != hash.constEnd()) {
119 (*it)(value1, value2);
120 } else {
121 warnKrita <<
"Unhandled:" << path <<
typeid(hash).
name() << value1 << value2;
122 }
123}
References warnKrita.