digiKam
Digikam::ScanController::FileMetadataWrite Class Reference

Public Member Functions

void changed (bool wasChanged)
 
 FileMetadataWrite (const ItemInfo &info)
 
 ~FileMetadataWrite ()
 

Protected Attributes

bool m_changed
 
ItemInfo m_info
 

Detailed Description

When writing metadata to the file, the file content on disk changes, but the information is taken from the database; therefore, the resulting scanning process can be optimized.

Thus, if you write metadata of an ItemInfo from the database to disk, do this in the scope of a FileMetadataWrite object.

Constructor & Destructor Documentation

◆ FileMetadataWrite()

Digikam::ScanController::FileMetadataWrite::FileMetadataWrite ( const ItemInfo info)
explicit

◆ ~FileMetadataWrite()

Digikam::ScanController::FileMetadataWrite::~FileMetadataWrite ( )

Member Function Documentation

◆ changed()

void Digikam::ScanController::FileMetadataWrite::changed ( bool  wasChanged)

Member Data Documentation

◆ m_changed

bool Digikam::ScanController::FileMetadataWrite::m_changed
protected

◆ m_info

ItemInfo Digikam::ScanController::FileMetadataWrite::m_info
protected

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