digiKam
Digikam::ThumbnailInfo Class Reference
+ Inheritance diagram for Digikam::ThumbnailInfo:

Public Member Functions

 ThumbnailInfo ()
 
 ~ThumbnailInfo ()
 

Public Attributes

QString customIdentifier
 
QString fileName
 
QString filePath
 
qlonglong fileSize
 
qlonglong id
 
bool isAccessible
 
QString mimeType
 
QDateTime modificationDate
 
int orientationHint
 
QString uniqueHash
 

Constructor & Destructor Documentation

◆ ThumbnailInfo()

Digikam::ThumbnailInfo::ThumbnailInfo ( )
explicit

◆ ~ThumbnailInfo()

Digikam::ThumbnailInfo::~ThumbnailInfo ( )
inline

Member Data Documentation

◆ customIdentifier

QString Digikam::ThumbnailInfo::customIdentifier

A custom identifier, if neither filePath nor uniqueHash are applicable.

◆ fileName

QString Digikam::ThumbnailInfo::fileName

The file name (the name, not the directory)

Referenced by Digikam::ThumbnailCreator::fileThumbnailInfo(), and Digikam::ItemInfo::thumbnailInfo().

◆ filePath

◆ fileSize

qlonglong Digikam::ThumbnailInfo::fileSize

◆ id

◆ isAccessible

bool Digikam::ThumbnailInfo::isAccessible

If the original file is at all accessible on disk. May be false if a file on a removable device is used.

Referenced by Digikam::ThumbnailCreator::fileThumbnailInfo(), and Digikam::ItemInfo::thumbnailInfo().

◆ mimeType

QString Digikam::ThumbnailInfo::mimeType

The mime type of the original file. Currently "image" or "video" otherwise empty.

Referenced by Digikam::ThumbnailCreator::fileThumbnailInfo(), and Digikam::ItemInfo::thumbnailInfo().

◆ modificationDate

QDateTime Digikam::ThumbnailInfo::modificationDate

The modification date of the original file. Thumbnail will be regenerated if thumb's modification date is older than this.

Referenced by Digikam::ThumbnailCreator::fileThumbnailInfo(), and Digikam::ItemInfo::thumbnailInfo().

◆ orientationHint

int Digikam::ThumbnailInfo::orientationHint

Gives a hint at the orientation of the image. This can be used to supersede the Exif information in the file. Will not be used if DMetadata::ORIENTATION_UNSPECIFIED (default value)

Referenced by Digikam::ItemInfo::thumbnailInfo().

◆ uniqueHash

QString Digikam::ThumbnailInfo::uniqueHash

If available, the uniqueHash + fileSize pair for identification of the original file by content.

Referenced by Digikam::ItemInfo::thumbnailInfo().


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