kis_colorspace_factory_registry.cpp
44 for ( TQStringList::Iterator it = profileFilenames.begin(); it != profileFilenames.end(); ++it ) {
80 KParts::ComponentFactory::createInstanceFromService<KParts::Plugin> ( service, this, 0, TQStringList(), &errCode);
82 kdDebug(DBG_AREA_PLUGINS) << "found colorspace " << service->property("Name").toString() << "\n";
84 kdDebug(41006) << "found plugin " << service->property("Name").toString() << ", " << errCode << "\n";
115TQValueVector<KisProfile *> KisColorSpaceFactoryRegistry::profilesFor(KisColorSpaceFactory * csf)
147KisColorSpace * KisColorSpaceFactoryRegistry::getColorSpace(const KisID & csID, const TQString & pName)
185KisColorSpace * KisColorSpaceFactoryRegistry::getColorSpace(const KisID & csID, const KisProfile * profile)
TQValueVector< KisProfile * > profilesFor(KisColorSpaceFactory *cs)
Return the vector of profiles for this colorspacefactory.
Definition kis_colorspace_factory_registry.cpp:115
TQValueVector< KisPaintDeviceAction * > paintDeviceActionsFor(KisColorSpace *cs)
Get a list of KisConstructPaintDeviceAction for a colorspace.
Definition kis_colorspace_factory_registry.cpp:143
KisColorSpace * getAlpha8()
Convenience method to get the often used alpha colorspace.
Definition kis_colorspace_factory_registry.cpp:212
KisColorSpaceFactoryRegistry(TQStringList profileFileNames)
Create a new colorspacefactory registry.
Definition kis_colorspace_factory_registry.cpp:35
KisColorSpace * getRGB8()
Convenience method to get an RGB colorspace with the default lcms profile.
Definition kis_colorspace_factory_registry.cpp:217
KisColorSpace * getColorSpace(const KisID &csID, const TQString &profileName)
Return the colorspace + profile as named, or NULL if impossible combination.
Definition kis_colorspace_factory_registry.cpp:147
KisProfile * getProfileByName(const TQString &name)
Return the profile associated with the given product name, or 0.
Definition kis_colorspace_factory_registry.cpp:101
void addProfile(KisProfile *p)
Add the profile to the list.
Definition kis_colorspace_factory_registry.cpp:130
void addPaintDeviceAction(KisColorSpace *cs, KisPaintDeviceAction *action)
add a KisConstructPaintDeviceAction to the registry for a colorspace
Definition kis_colorspace_factory_registry.cpp:137
A colorspace is the definition of a certain color model in Chalk.
Definition kis_colorspace.h:58
virtual KisID id() const =0
Chalk definition for use in .kra files and internally: unchanging name + i18n'able description.
KisColorSpaceFactory * get(const KisID &name) const
Definition kis_generic_registry.h:92
void add(KisColorSpaceFactory *item)
Definition kis_generic_registry.h:51
Defines an action to do with a paint device.
Definition kis_paint_device_action.h:28
