digiKam
Digikam::MetaEngineSettingsContainer Class Reference

Public Types

enum  RotationBehaviorFlag {
  NoRotation = 0 , RotateByInternalFlag = 1 << 0 , RotateByMetadataFlag = 1 << 1 , RotateByLosslessRotation = 1 << 2 ,
  RotateByLossyRotation = 1 << 3 , RotatingFlags = RotateByInternalFlag | RotateByMetadataFlag , RotatingPixels = RotateByLosslessRotation | RotateByLossyRotation
}
 

Public Member Functions

QStringList defaultExifToolSearchPaths () const
 
 MetaEngineSettingsContainer ()
 
void readFromConfig (KConfigGroup &group)
 
void writeToConfig (KConfigGroup &group) const
 
 ~MetaEngineSettingsContainer ()
 

Public Attributes

bool clearMetadataIfRescan
 
bool exifRotate
 
bool exifSetOrientation
 
QString exifToolPath
 
MetaEngine::MetadataWritingMode metadataWritingMode
 
bool rescanImageIfModified
 
RotationBehaviorFlags rotationBehavior
 
bool saveColorLabel
 
bool saveComments
 
bool saveDateTime
 
bool saveFaceTags
 
bool savePickLabel
 
bool savePosition
 
bool saveRating
 
bool saveTags
 
bool saveTemplate
 
QStringList sidecarExtensions
 
bool updateFileTimeStamp
 
bool useCompatibleFileName
 
bool useFastScan
 
bool useLazySync
 
bool useXMPSidecar4Reading
 
bool writeDngFiles
 
bool writeRawFiles
 

Detailed Description

The class MetaEngineSettingsContainer encapsulates all metadata related settings. NOTE: this allows supply changed arguments to MetadataHub without changing the global settings.

Member Enumeration Documentation

◆ RotationBehaviorFlag

Describes the allowed and desired operation when rotating a picture. The modes are in escalating order and describe if an operation is allowed. What is actually done will be governed by what is possible: 1) RAW files cannot by rotated by content, setting the metadata may be problematic 2) Read-Only files cannot edited, neither content nor metadata 3) Writable files will have lossy compression 4) Only JPEG and PGF offer lossless rotation Using a contents-based rotation always implies resetting the flag.

Enumerator
NoRotation 
RotateByInternalFlag 
RotateByMetadataFlag 
RotateByLosslessRotation 
RotateByLossyRotation 
RotatingFlags 
RotatingPixels 

Constructor & Destructor Documentation

◆ MetaEngineSettingsContainer()

Digikam::MetaEngineSettingsContainer::MetaEngineSettingsContainer ( )
explicit

◆ ~MetaEngineSettingsContainer()

Digikam::MetaEngineSettingsContainer::~MetaEngineSettingsContainer ( )

Member Function Documentation

◆ defaultExifToolSearchPaths()

QStringList Digikam::MetaEngineSettingsContainer::defaultExifToolSearchPaths ( ) const

References Digikam::macOSBundlePrefix().

Referenced by readFromConfig().

◆ readFromConfig()

◆ writeToConfig()

Member Data Documentation

◆ clearMetadataIfRescan

◆ exifRotate

◆ exifSetOrientation

◆ exifToolPath

◆ metadataWritingMode

◆ rescanImageIfModified

◆ rotationBehavior

◆ saveColorLabel

◆ saveComments

◆ saveDateTime

◆ saveFaceTags

◆ savePickLabel

◆ savePosition

◆ saveRating

◆ saveTags

◆ saveTemplate

◆ sidecarExtensions

◆ updateFileTimeStamp

◆ useCompatibleFileName

◆ useFastScan

bool Digikam::MetaEngineSettingsContainer::useFastScan

◆ useLazySync

◆ useXMPSidecar4Reading

◆ writeDngFiles

◆ writeRawFiles


The documentation for this class was generated from the following files: