digikam
Digikam::IccSettings Class Reference
#include <iccsettings.h>

Signals | |
| void | settingsChanged (const ICCSettingsContainer ¤t, const ICCSettingsContainer &previous) |
| void | settingsChanged () |
Public Member Functions | |
| QList< IccProfile > | allProfiles () |
| QList< IccProfile > | displayProfiles () |
| QList< IccProfile > | inputProfiles () |
| bool | isEnabled () |
| void | loadAllProfilesProperties () |
| IccProfile | monitorProfile (QWidget *widget=0) |
| bool | monitorProfileFromSystem () |
| QList< IccProfile > | outputProfiles () |
| void | setIccPath (const QString &path) |
| void | setSettings (const ICCSettingsContainer &settings) |
| ICCSettingsContainer | settings () |
| void | setUseManagedView (bool useManagedView) |
| QList< IccProfile > | workspaceProfiles () |
Static Public Member Functions | |
| static IccSettings * | instance () |
Detailed Description
Definition at line 44 of file iccsettings.h.
Member Function Documentation
| QList< IccProfile > Digikam::IccSettings::allProfiles | ( | ) |
Definition at line 349 of file iccsettings.cpp.
| QList< IccProfile > Digikam::IccSettings::displayProfiles | ( | ) |
Get available profiles suitable as monitor/display profile.
Definition at line 398 of file iccsettings.cpp.
| QList< IccProfile > Digikam::IccSettings::inputProfiles | ( | ) |
Get available profiles suitable as input profile.
Definition at line 409 of file iccsettings.cpp.
| IccSettings * Digikam::IccSettings::instance | ( | ) | [static] |
Global container for ICC settings.
All accessor methods are thread-safe.
Definition at line 89 of file iccsettings.cpp.
| bool Digikam::IccSettings::isEnabled | ( | ) |
Returns if color management is enabled.
Definition at line 231 of file iccsettings.cpp.
| void Digikam::IccSettings::loadAllProfilesProperties | ( | ) |
IccProfile caches some of its properties (description, type) when it was read once.
Subsequently, to read these values no opening is needed. This ensures that all profiles have these values read. May imply scanning and opening all profiles.
Definition at line 437 of file iccsettings.cpp.
| IccProfile Digikam::IccSettings::monitorProfile | ( | QWidget * | widget = 0 |
) |
Returns the monitor profile (for color managed view).
If there are multiple screens, a system-wide settings specifies the monitor profile, and the widget parameter is passed, the returned profile is for the widget's screen. If no settings is specified, the default sRGB profile is returned.
Definition at line 115 of file iccsettings.cpp.
| bool Digikam::IccSettings::monitorProfileFromSystem | ( | ) |
Returns if the monitor profile (as returned by monitorProfile()) is set system-wide, so that the monitorProfile field of the current settings need not be set and will not be used by monitorProfile().
Definition at line 129 of file iccsettings.cpp.
| QList< IccProfile > Digikam::IccSettings::outputProfiles | ( | ) |
Get available profiles suitable as proof/output profiles.
Definition at line 426 of file iccsettings.cpp.
| void Digikam::IccSettings::setIccPath | ( | const QString & | path | ) |
Definition at line 285 of file iccsettings.cpp.
| void Digikam::IccSettings::setSettings | ( | const ICCSettingsContainer & | settings | ) |
Sets the current ICC settings and writes them to config.
Definition at line 251 of file iccsettings.cpp.
| ICCSettingsContainer Digikam::IccSettings::settings | ( | ) |
Returns the current ICC settings.
Definition at line 108 of file iccsettings.cpp.
| void Digikam::IccSettings::settingsChanged | ( | const ICCSettingsContainer & | current, | |
| const ICCSettingsContainer & | previous | |||
| ) | [signal] |
| void Digikam::IccSettings::settingsChanged | ( | ) | [signal] |
| void Digikam::IccSettings::setUseManagedView | ( | bool | useManagedView | ) |
Set single parts of the settings.
Definition at line 269 of file iccsettings.cpp.
| QList< IccProfile > Digikam::IccSettings::workspaceProfiles | ( | ) |
Get available profiles suitable as workspace profile.
Definition at line 381 of file iccsettings.cpp.
The documentation for this class was generated from the following files:
KDE 4.4 API Reference