Référence de la classe KoColorSpaceRegistry

#include <KoColorSpaceRegistry.h>

Graphe d'héritage de KoColorSpaceRegistry:

[légende]
Graphe de collaboration de KoColorSpaceRegistry:
[légende]
Liste de tous les membres

Fonctions membres publiques

virtual ~KoColorSpaceRegistry ()
void addProfile (KoColorProfile *profile)
KoColorProfileprofileByName (const QString &name) const
QList< KoColorProfile * > profilesFor (KoColorSpaceFactory *factory)
QList< KoColorProfile * > profilesFor (KoID id)
QList< KoColorProfile * > profilesFor (const QString &colorSpaceId)
KoColorSpacecolorSpace (const KoID &csID, const QString &profileName)
KoColorSpacecolorSpace (const QString &colorSpaceId, const KoColorProfile *profile)
KoColorSpacecolorSpace (const QString &colorSpaceId, const QString &profileName)
KoColorSpacealpha8 ()
KoColorSpacergb8 ()
void addPaintDeviceAction (KoColorSpace *cs, KisPaintDeviceAction *action)
QList< KisPaintDeviceAction * > paintDeviceActionsFor (KoColorSpace *cs)

Fonctions membres publiques statiques

static KoColorSpaceRegistryinstance ()

Types privés

typedef QList< KisPaintDeviceAction * > PaintActionList

Fonctions membres privées

 KoColorSpaceRegistry ()
 KoColorSpaceRegistry (const KoColorSpaceRegistry &)
KoColorSpaceRegistry operator= (const KoColorSpaceRegistry &)
void init ()

Attributs privés

QMap< QString, KoColorProfile * > m_profileMap
QMap< QString, KoColorSpace * > m_csMap
QMap< QString, PaintActionListm_paintDevActionMap
KoColorSpacem_alphaCs

Attributs privés statiques

static KoColorSpaceRegistrym_singleton

Description détaillée

XXX: USE STATIC DELETER! USE STATIC DELETER!

The registry for colorspaces and profiles. This class contains:

Définition à la ligne 46 du fichier KoColorSpaceRegistry.h.


Documentation des définition de type membres

typedef QList<KisPaintDeviceAction *> KoColorSpaceRegistry::PaintActionList [private]

Définition à la ligne 167 du fichier KoColorSpaceRegistry.h.


Documentation des contructeurs et destructeur

KoColorSpaceRegistry::~KoColorSpaceRegistry (  )  [virtual]

Définition à la ligne 129 du fichier KoColorSpaceRegistry.cpp.

KoColorSpaceRegistry::KoColorSpaceRegistry (  )  [private]

Définition à la ligne 125 du fichier KoColorSpaceRegistry.cpp.

Référencé par instance().

Voici le graphe d'appel pour cette fonction :

KoColorSpaceRegistry::KoColorSpaceRegistry ( const KoColorSpaceRegistry  )  [private]


Documentation des fonctions membres

KoColorSpaceRegistry * KoColorSpaceRegistry::instance (  )  [static]

Return an instance of the KoColorSpaceRegistry Creates an instance if that has never happened before and returns the singleton instance.

Définition à la ligne 44 du fichier KoColorSpaceRegistry.cpp.

Références init(), KoColorSpaceRegistry(), et m_singleton.

Référencé par KoUniColorChooser::cmykColorSpace(), KoColor::KoColor(), KoUniColorChooser::labColorSpace(), et KoUniColorChooser::rgbColorSpace().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

void KoColorSpaceRegistry::addProfile ( KoColorProfile profile  ) 

register the profile with the color space registry

Paramètres:
profile the new profile to be registered so it can be combined with colorspaces.

Définition à la ligne 161 du fichier KoColorSpaceRegistry.cpp.

Références m_profileMap, KoColorProfile::productName(), et KoColorProfile::valid().

Référencé par init().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

KoColorProfile * KoColorSpaceRegistry::profileByName ( const QString &  name  )  const

Return a profile by its given name, or 0 if none registered.

Renvoie:
a profile by its given name, or 0 if none registered.
Paramètres:
name the product name as set on the profile.
Voir également:
addProfile()

KoColorProfile::productName()

Définition à la ligne 133 du fichier KoColorSpaceRegistry.cpp.

Références m_profileMap.

Référencé par colorSpace().

Voici le graphe d'appel pour cette fonction :

QList< KoColorProfile * > KoColorSpaceRegistry::profilesFor ( KoColorSpaceFactory factory  ) 

Return the list of profiles for the argument colorspacefactory. Profiles will not work with any color space, you can query which profiles that are registered with this registry can be used in combination with the argument factory.

Paramètres:
factory the factory with which all the returned profiles will work.
Renvoie:
a list of profiles for the factory

Définition à la ligne 147 du fichier KoColorSpaceRegistry.cpp.

Références KoColorSpaceFactory::colorSpaceSignature(), et m_profileMap.

Référencé par profilesFor().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

QList<KoColorProfile *> KoColorSpaceRegistry::profilesFor ( KoID  id  )  [inline]

Return the list of profiles for a colorspace with the argument id. Profiles will not work with any color space, you can query which profiles that are registered with this registry can be used in combination with the argument factory.

Paramètres:
id the colorspace-id with which all the returned profiles will work.
Renvoie:
a list of profiles for the factory

Définition à la ligne 97 du fichier KoColorSpaceRegistry.h.

QList< KoColorProfile * > KoColorSpaceRegistry::profilesFor ( const QString &  colorSpaceId  ) 

Return the list of profiles for a colorspace with the argument id. Profiles will not work with any color space, you can query which profiles that are registered with this registry can be used in combination with the argument factory.

Paramètres:
colorProfileId the colorspace-id with which all the returned profiles will work.
Renvoie:
a list of profiles for the factory

Définition à la ligne 142 du fichier KoColorSpaceRegistry.cpp.

Références KoGenericRegistry< KoColorSpaceFactory * >::get(), et profilesFor().

Voici le graphe d'appel pour cette fonction :

KoColorSpace* KoColorSpaceRegistry::colorSpace ( const KoID csID,
const QString &  profileName 
) [inline]

Return a colorspace that works with the parameter profile.

Paramètres:
csID the ID of the colorspace that you want to have returned
profileName the name of the KoColorProfile to be combined with the colorspace
Renvoie:
the wanted colorspace, or 0 when the cs and profile can not be combined.

Définition à la ligne 117 du fichier KoColorSpaceRegistry.h.

Références KoID::id().

Référencé par KoUniColorChooser::cmykColorSpace(), colorSpace(), KoLcmsColorSpace< AlphaU8Traits >::convertToQImage(), KoColor::KoColor(), KoUniColorChooser::labColorSpace(), et rgb8().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

KoColorSpace * KoColorSpaceRegistry::colorSpace ( const QString &  colorSpaceId,
const KoColorProfile profile 
)

Return a colorspace that works with the parameter profile.

Paramètres:
colorSpaceId the ID string of the colorspace that you want to have returned
profile the profile be combined with the colorspace
Renvoie:
the wanted colorspace, or 0 when the cs and profile can not be combined.

Définition à la ligne 216 du fichier KoColorSpaceRegistry.cpp.

Références colorSpace(), KoColorSpaceFactory::createColorSpace(), KoGenericRegistry< KoColorSpaceFactory * >::get(), m_csMap, KoPageFormat::name(), et KoColorProfile::productName().

Voici le graphe d'appel pour cette fonction :

KoColorSpace * KoColorSpaceRegistry::colorSpace ( const QString &  colorSpaceId,
const QString &  profileName 
)

Return a colorspace that works with the parameter profile.

Paramètres:
csID the ID of the colorspace that you want to have returned
profileName the name of the KoColorProfile to be combined with the colorspace
Renvoie:
the wanted colorspace, or 0 when the cs and profile can not be combined.

Définition à la ligne 178 du fichier KoColorSpaceRegistry.cpp.

Références KoColorSpaceFactory::defaultProfile(), KoGenericRegistry< KoColorSpaceFactory * >::get(), m_csMap, KoPageFormat::name(), et profileByName().

Voici le graphe d'appel pour cette fonction :

KoColorSpace * KoColorSpaceRegistry::alpha8 (  ) 

Convenience method to get the often used alpha colorspace

Définition à la ligne 243 du fichier KoColorSpaceRegistry.cpp.

Références m_alphaCs.

KoColorSpace * KoColorSpaceRegistry::rgb8 (  ) 

Convenience method to get an RGB colorspace with the default lcms profile

Définition à la ligne 248 du fichier KoColorSpaceRegistry.cpp.

Références colorSpace().

Référencé par KoLcmsColorSpace< AlphaU8Traits >::convertToQImage(), et KoUniColorChooser::rgbColorSpace().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

void KoColorSpaceRegistry::addPaintDeviceAction ( KoColorSpace cs,
KisPaintDeviceAction *  action 
)

add a KisConstructPaintDeviceAction to the registry for a colorspace

Définition à la ligne 168 du fichier KoColorSpaceRegistry.cpp.

Références KoColorSpace::id(), et m_paintDevActionMap.

Voici le graphe d'appel pour cette fonction :

QList< KisPaintDeviceAction * > KoColorSpaceRegistry::paintDeviceActionsFor ( KoColorSpace cs  ) 

Get a list of KisConstructPaintDeviceAction for a colorspace

Définition à la ligne 174 du fichier KoColorSpaceRegistry.cpp.

Références KoColorSpace::id(), et m_paintDevActionMap.

Voici le graphe d'appel pour cette fonction :

KoColorSpaceRegistry KoColorSpaceRegistry::operator= ( const KoColorSpaceRegistry  )  [private]

void KoColorSpaceRegistry::init (  )  [private]

Définition à la ligne 55 du fichier KoColorSpaceRegistry.cpp.

Références KoGenericRegistry< KoColorSpaceFactory * >::add(), addProfile(), KoPluginLoader::instance(), KoProperty::List, KoPluginLoader::load(), m_alphaCs, et m_profileMap.

Référencé par instance().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :


Documentation des données membres

QMap<QString, KoColorProfile * > KoColorSpaceRegistry::m_profileMap [private]

Définition à la ligne 165 du fichier KoColorSpaceRegistry.h.

Référencé par addProfile(), init(), profileByName(), et profilesFor().

QMap<QString, KoColorSpace * > KoColorSpaceRegistry::m_csMap [private]

Définition à la ligne 166 du fichier KoColorSpaceRegistry.h.

Référencé par colorSpace().

QMap<QString, PaintActionList> KoColorSpaceRegistry::m_paintDevActionMap [private]

Définition à la ligne 168 du fichier KoColorSpaceRegistry.h.

Référencé par addPaintDeviceAction(), et paintDeviceActionsFor().

KoColorSpace* KoColorSpaceRegistry::m_alphaCs [private]

Définition à la ligne 169 du fichier KoColorSpaceRegistry.h.

Référencé par alpha8(), et init().

KoColorSpaceRegistry * KoColorSpaceRegistry::m_singleton [static, private]

Définition à la ligne 170 du fichier KoColorSpaceRegistry.h.

Référencé par instance().


La documentation de cette classe a été générée à partir des fichiers suivants :
Généré le Wed Nov 22 23:44:29 2006 pour KPlato par  doxygen 1.5.1-p1