digiKam
|
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 |
Container that store all timestamp adjustments.
Digikam::TimeAdjustContainer::TimeAdjustContainer | ( | ) |
Digikam::TimeAdjustContainer::~TimeAdjustContainer | ( | ) |
bool Digikam::TimeAdjustContainer::atLeastOneUpdateToProcess | ( | ) | const |
Check if at least one option is selected.
References updEXIFDigDate, updEXIFModDate, updEXIFOriDate, updEXIFThmDate, updFileModDate, updIPTCDate, updXMPDate, and updXMPVideo.
QDateTime Digikam::TimeAdjustContainer::calculateAdjustedDate | ( | const QDateTime & | originalTime, |
int | index = 0 |
||
) |
References ADDVALUE, adjustmentDays, adjustmentTime, adjustmentType, INTERVAL, and SUBVALUE.
QDateTime Digikam::TimeAdjustContainer::getDateTimeFromUrl | ( | const QUrl & | url | ) | const |
int Digikam::TimeAdjustContainer::adjustmentDays |
QDateTime Digikam::TimeAdjustContainer::adjustmentTime |
int Digikam::TimeAdjustContainer::adjustmentType |
QDateTime Digikam::TimeAdjustContainer::customDate |
QDateTime Digikam::TimeAdjustContainer::customTime |
int Digikam::TimeAdjustContainer::dateSource |
int Digikam::TimeAdjustContainer::fileDateSource |
int Digikam::TimeAdjustContainer::metadataSource |
bool Digikam::TimeAdjustContainer::updEXIFDigDate |
bool Digikam::TimeAdjustContainer::updEXIFModDate |
bool Digikam::TimeAdjustContainer::updEXIFOriDate |
bool Digikam::TimeAdjustContainer::updEXIFThmDate |
bool Digikam::TimeAdjustContainer::updFileModDate |
bool Digikam::TimeAdjustContainer::updIfAvailable |
bool Digikam::TimeAdjustContainer::updIPTCDate |
bool Digikam::TimeAdjustContainer::updXMPDate |
bool Digikam::TimeAdjustContainer::updXMPVideo |