digiKam
Digikam::ItemChangeHint Class Reference

Public Types

enum  ChangeType { ItemModified , ItemRescan }
 

Public Member Functions

ChangeType changeType () const
 
QList< qlonglong > ids () const
 
bool isId (qlonglong id) const
 
bool isModified () const
 
 ItemChangeHint ()
 
 ItemChangeHint (const QList< qlonglong > &srcIds, ChangeType type=ItemModified)
 
bool needsRescan () const
 

Protected Attributes

QList< qlonglong > m_ids
 
ChangeType m_type
 

Member Enumeration Documentation

◆ ChangeType

An ItemCopyMoveHint describes a list of existing items that should be updated although the modification date may not have changed.

Enumerator
ItemModified 

treat as if modification date changed

ItemRescan 

reread metadata

Constructor & Destructor Documentation

◆ ItemChangeHint() [1/2]

Digikam::ItemChangeHint::ItemChangeHint ( )

◆ ItemChangeHint() [2/2]

Digikam::ItemChangeHint::ItemChangeHint ( const QList< qlonglong > &  srcIds,
ChangeType  type = ItemModified 
)
explicit

Member Function Documentation

◆ changeType()

ItemChangeHint::ChangeType Digikam::ItemChangeHint::changeType ( ) const

References m_type.

◆ ids()

QList< qlonglong > Digikam::ItemChangeHint::ids ( ) const

◆ isId()

bool Digikam::ItemChangeHint::isId ( qlonglong  id) const

References m_ids.

◆ isModified()

bool Digikam::ItemChangeHint::isModified ( ) const
inline

◆ needsRescan()

bool Digikam::ItemChangeHint::needsRescan ( ) const
inline

Member Data Documentation

◆ m_ids

QList<qlonglong> Digikam::ItemChangeHint::m_ids
protected

Referenced by ids(), and isId().

◆ m_type

ChangeType Digikam::ItemChangeHint::m_type
protected

Referenced by changeType().


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