![]() |
digiKam
|
#include <thumbnailinfo.h>
Public Member Functions | |
ThumbnailInfo ()=default | |
~ThumbnailInfo ()=default | |
Public Attributes | |
QString | customIdentifier |
QString | fileName |
QString | filePath |
qlonglong | fileSize = 0 |
qlonglong | id = 0 |
bool | isAccessible = false |
QString | mimeType |
QDateTime | modificationDate |
int | orientationHint = DMetadata::ORIENTATION_UNSPECIFIED |
QString | uniqueHash |
|
default |
|
default |
QString Digikam::ThumbnailInfo::customIdentifier |
A custom identifier, if neither filePath nor uniqueHash are applicable.
QString Digikam::ThumbnailInfo::fileName |
The file name (the name, not the directory)
Referenced by Digikam::ThumbnailCreator::fileThumbnailInfo(), and Digikam::ItemInfo::thumbnailInfo().
|
inherited |
The file path from which the thumbnail shall be generated
Referenced by Digikam::ThumbnailLoadThread::Private::createLoadingDescription(), Digikam::ThumbnailCreator::fileThumbnailInfo(), Digikam::ThumbnailCreator::identifierForDetail(), Digikam::operator<(), Digikam::ItemGPSModelHelper::pixmapFromRepresentativeIndex(), Digikam::ItemThumbnailModel::slotThumbnailLoaded(), Digikam::LoadingDescription::thumbnailIdentifier(), Digikam::ItemInfo::thumbnailInfo(), and Digikam::ThumbsDbInfoProvider::thumbnailInfo().
qlonglong Digikam::ThumbnailInfo::fileSize = 0 |
Referenced by Digikam::ItemInfo::thumbnailInfo().
|
inherited |
The database id, which needs to be translated to uniqueHash + fileSize
Referenced by Digikam::ThumbnailLoadThread::Private::createLoadingDescription(), Digikam::operator<(), Digikam::ItemGPSModelHelper::pixmapFromRepresentativeIndex(), Digikam::ItemThumbnailModel::slotThumbnailLoaded(), Digikam::ItemInfo::thumbnailIdentifier(), Digikam::ItemInfo::thumbnailInfo(), and Digikam::ThumbsDbInfoProvider::thumbnailInfo().
bool Digikam::ThumbnailInfo::isAccessible = false |
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().
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().
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().
int Digikam::ThumbnailInfo::orientationHint = DMetadata::ORIENTATION_UNSPECIFIED |
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().
QString Digikam::ThumbnailInfo::uniqueHash |
If available, the uniqueHash + fileSize pair for identification of the original file by content.
Referenced by Digikam::ItemInfo::thumbnailInfo().