digiKam
Digikam::ItemMetadataAdjustmentHint Class Reference

Public Types

enum  AdjustmentStatus { AboutToEditMetadata , MetadataEditingFinished , MetadataEditingAborted }
 

Public Member Functions

AdjustmentStatus adjustmentStatus () const
 
qlonglong fileSize () const
 
qlonglong id () const
 
bool isAboutToEdit () const
 
bool isEditingFinished () const
 
bool isEditingFinishedAborted () const
 
 ItemMetadataAdjustmentHint ()
 
 ItemMetadataAdjustmentHint (qlonglong id, AdjustmentStatus status, const QDateTime &modificationDateOnDisk, qlonglong fileSize)
 
QDateTime modificationDate () const
 

Protected Attributes

qlonglong m_fileSize
 
qlonglong m_id
 
QDateTime m_modificationDate
 
AdjustmentStatus m_status
 

Member Enumeration Documentation

◆ AdjustmentStatus

The file's has been edited writing out information from the database, i.e., the db is already guaranteed to contain all changed information in the file's metadata. There is no need for a full rescan, optimizations are possible.

Enumerator
AboutToEditMetadata 

The file is about to be edited. Suspends scanning. The Finished hint must follow.

MetadataEditingFinished 

The file's metadata has been edited as described above.

MetadataEditingAborted 

The file's metadata has not been edited, despite sending AboutToEditMedata.

Constructor & Destructor Documentation

◆ ItemMetadataAdjustmentHint() [1/2]

Digikam::ItemMetadataAdjustmentHint::ItemMetadataAdjustmentHint ( )

◆ ItemMetadataAdjustmentHint() [2/2]

Digikam::ItemMetadataAdjustmentHint::ItemMetadataAdjustmentHint ( qlonglong  id,
AdjustmentStatus  status,
const QDateTime &  modificationDateOnDisk,
qlonglong  fileSize 
)
explicit

Member Function Documentation

◆ adjustmentStatus()

ItemMetadataAdjustmentHint::AdjustmentStatus Digikam::ItemMetadataAdjustmentHint::adjustmentStatus ( ) const

References m_status.

◆ fileSize()

qlonglong Digikam::ItemMetadataAdjustmentHint::fileSize ( ) const

◆ id()

qlonglong Digikam::ItemMetadataAdjustmentHint::id ( ) const

◆ isAboutToEdit()

bool Digikam::ItemMetadataAdjustmentHint::isAboutToEdit ( ) const
inline

◆ isEditingFinished()

bool Digikam::ItemMetadataAdjustmentHint::isEditingFinished ( ) const
inline

◆ isEditingFinishedAborted()

bool Digikam::ItemMetadataAdjustmentHint::isEditingFinishedAborted ( ) const
inline

◆ modificationDate()

QDateTime Digikam::ItemMetadataAdjustmentHint::modificationDate ( ) const

Member Data Documentation

◆ m_fileSize

qlonglong Digikam::ItemMetadataAdjustmentHint::m_fileSize
protected

Referenced by fileSize().

◆ m_id

qlonglong Digikam::ItemMetadataAdjustmentHint::m_id
protected

Referenced by id().

◆ m_modificationDate

QDateTime Digikam::ItemMetadataAdjustmentHint::m_modificationDate
protected

Referenced by modificationDate().

◆ m_status

AdjustmentStatus Digikam::ItemMetadataAdjustmentHint::m_status
protected

Referenced by adjustmentStatus().


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