45 void setResource(
int key,
const QVariant &
value);
53 void setResource(
int key,
const KoColor &color);
61 void setResource(
int key,
KoShape *shape);
69 void setResource(
int key,
const KoUnit &unit);
77 QVariant resource(
int key)
const;
84 bool boolResource(
int key)
const;
91 int intResource(
int key)
const;
98 KoColor koColorResource(
int key)
const;
105 KoShape *koShapeResource(
int key)
const;
112 QString stringResource(
int key)
const;
119 QSizeF sizeResource(
int key)
const;
126 KoUnit unitResource(
int key)
const;
133 bool hasResource(
int key)
const;
140 void clearResource(
int key);
161 bool hasDerivedResourceConverter(
int key);
169 void removeDerivedResourceConverter(
int key);
184 bool hasResourceUpdateMediator(
int key);
189 void removeResourceUpdateMediator(
int key);
203 bool hasActiveCanvasResourceDependency(
int sourceKey,
int targetKey)
const;
210 void removeActiveCanvasResourceDependency(
int sourceKey,
int targetKey);
217 bool hasAbstractResource(
int key);
224 void removeAbstractResource(
int key);
238 void notifyResourceChanged(
int key,
const QVariant &
value);
239 void notifyDerivedResourcesChanged(
int key,
const QVariant &
value);
241 void notifyResourceChangeAttempted(
int key,
const QVariant &
value);
242 void notifyDerivedResourcesChangeAttempted(
int key,
const QVariant &
value);
244 void notifyDependenciesAboutTargetChange(
int targetKey,
const QVariant &
value);
247 void slotResourceInternalsChanged(
int key);
248 void slotAbstractResourceChangedExternal(
int key,
const QVariant &
value);