digiKam
Digikam::TimeAdjustContainer Class Reference

Public Types

enum  AdjType { COPYVALUE = 0 , ADDVALUE , SUBVALUE , INTERVAL }
 
enum  UseDateSource {
  APPDATE = 0 , FILENAME , FILEDATE , METADATADATE ,
  CUSTOMDATE
}
 
enum  UseFileDateType { FILELASTMOD = 0 , FILECREATED }
 
enum  UseMetaDateType {
  EXIFIPTCXMP = 0 , EXIFCREATED , EXIFORIGINAL , EXIFDIGITIZED ,
  IPTCCREATED , XMPCREATED
}
 

Public Member Functions

bool atLeastOneUpdateToProcess () const
 Check if at least one option is selected. More...
 
QDateTime calculateAdjustedDate (const QDateTime &originalTime, int index=0)
 
QDateTime getDateTimeFromUrl (const QUrl &url) const
 
 TimeAdjustContainer ()
 
 ~TimeAdjustContainer ()
 

Public Attributes

int adjustmentDays
 
QDateTime adjustmentTime
 
int adjustmentType
 
QDateTime customDate
 
QDateTime customTime
 
int dateSource
 
int fileDateSource
 
int metadataSource
 
bool updEXIFDigDate
 
bool updEXIFModDate
 
bool updEXIFOriDate
 
bool updEXIFThmDate
 
bool updFileModDate
 
bool updIfAvailable
 
bool updIPTCDate
 
bool updXMPDate
 
bool updXMPVideo
 

Detailed Description

Container that store all timestamp adjustments.

Member Enumeration Documentation

◆ AdjType

Enumerator
COPYVALUE 
ADDVALUE 
SUBVALUE 
INTERVAL 

◆ UseDateSource

Enumerator
APPDATE 
FILENAME 
FILEDATE 
METADATADATE 
CUSTOMDATE 

◆ UseFileDateType

Enumerator
FILELASTMOD 
FILECREATED 

◆ UseMetaDateType

Enumerator
EXIFIPTCXMP 
EXIFCREATED 
EXIFORIGINAL 
EXIFDIGITIZED 
IPTCCREATED 
XMPCREATED 

Constructor & Destructor Documentation

◆ TimeAdjustContainer()

Digikam::TimeAdjustContainer::TimeAdjustContainer ( )

◆ ~TimeAdjustContainer()

Digikam::TimeAdjustContainer::~TimeAdjustContainer ( )

Member Function Documentation

◆ atLeastOneUpdateToProcess()

bool Digikam::TimeAdjustContainer::atLeastOneUpdateToProcess ( ) const

Check if at least one option is selected.

References updEXIFDigDate, updEXIFModDate, updEXIFOriDate, updEXIFThmDate, updFileModDate, updIPTCDate, updXMPDate, and updXMPVideo.

◆ calculateAdjustedDate()

QDateTime Digikam::TimeAdjustContainer::calculateAdjustedDate ( const QDateTime &  originalTime,
int  index = 0 
)

◆ getDateTimeFromUrl()

QDateTime Digikam::TimeAdjustContainer::getDateTimeFromUrl ( const QUrl &  url) const

Member Data Documentation

◆ adjustmentDays

◆ adjustmentTime

◆ adjustmentType

◆ customDate

◆ customTime

◆ dateSource

◆ fileDateSource

◆ metadataSource

◆ updEXIFDigDate

◆ updEXIFModDate

◆ updEXIFOriDate

◆ updEXIFThmDate

◆ updFileModDate

◆ updIfAvailable

◆ updIPTCDate

◆ updXMPDate

◆ updXMPVideo


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