Changeset View
Changeset View
Standalone View
Standalone View
libs/image/brushengine/kis_uniform_paintop_property.h
Show All 37 Lines | 32 | public: | |||
---|---|---|---|---|---|
38 | }; | 38 | }; | ||
39 | 39 | | |||
40 | public: | 40 | public: | ||
41 | KisUniformPaintOpProperty(Type type, | 41 | KisUniformPaintOpProperty(Type type, | ||
42 | const QString &id, | 42 | const QString &id, | ||
43 | const QString &name, | 43 | const QString &name, | ||
44 | KisPaintOpSettingsSP settings, | 44 | KisPaintOpSettingsSP settings, | ||
45 | QObject *parent); | 45 | QObject *parent); | ||
46 | KisUniformPaintOpProperty(const QString &id, | ||||
47 | const QString &name, | ||||
48 | KisPaintOpSettingsSP settings, | ||||
49 | QObject *parent); | ||||
46 | ~KisUniformPaintOpProperty(); | 50 | ~KisUniformPaintOpProperty(); | ||
47 | 51 | | |||
48 | QString id() const; | 52 | QString id() const; | ||
49 | QString name() const; | 53 | QString name() const; | ||
50 | Type type() const; | 54 | Type type() const; | ||
51 | 55 | | |||
52 | QVariant value() const; | 56 | QVariant value() const; | ||
53 | 57 | | |||
Show All 21 Lines | |||||
75 | 79 | | |||
76 | template<class T> class QSharedPointer; | 80 | template<class T> class QSharedPointer; | ||
77 | template<class T> class QWeakPointer; | 81 | template<class T> class QWeakPointer; | ||
78 | template<class T> class QList; | 82 | template<class T> class QList; | ||
79 | 83 | | |||
80 | typedef QSharedPointer<KisUniformPaintOpProperty> KisUniformPaintOpPropertySP; | 84 | typedef QSharedPointer<KisUniformPaintOpProperty> KisUniformPaintOpPropertySP; | ||
81 | typedef QWeakPointer<KisUniformPaintOpProperty> KisUniformPaintOpPropertyWSP; | 85 | typedef QWeakPointer<KisUniformPaintOpProperty> KisUniformPaintOpPropertyWSP; | ||
82 | 86 | | |||
87 | #include "kis_callback_based_paintop_property.h" | ||||
88 | extern template class KRITAIMAGE_EXPORT KisCallbackBasedPaintopProperty<KisUniformPaintOpProperty>; | ||||
89 | typedef KisCallbackBasedPaintopProperty<KisUniformPaintOpProperty> KisUniformPaintOpPropertyCallback; | ||||
90 | | ||||
83 | #endif /* __KIS_UNIFORM_PAINT_OP_PROPERTY_H */ | 91 | #endif /* __KIS_UNIFORM_PAINT_OP_PROPERTY_H */ |