digiKam
|
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 |
|
explicit |
|
inline |
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::ThumbnailLoadThread::Private::makeDescriptions(), Digikam::operator<(), Digikam::ItemGPSModelHelper::pixmapFromRepresentativeIndex(), Digikam::ItemThumbnailModel::slotThumbnailLoaded(), Digikam::LoadingDescription::thumbnailIdentifier(), Digikam::ItemInfo::thumbnailInfo(), and Digikam::ThumbsDbInfoProvider::thumbnailInfo().
qlonglong Digikam::ThumbnailInfo::fileSize |
Referenced by Digikam::ItemInfo::thumbnailInfo().
|
inherited |
The database id, which needs to be translated to uniqueHash + fileSize
Referenced by Digikam::ThumbnailLoadThread::Private::createLoadingDescription(), Digikam::ThumbnailLoadThread::Private::makeDescriptions(), Digikam::operator<(), Digikam::ItemGPSModelHelper::pixmapFromRepresentativeIndex(), Digikam::ItemThumbnailModel::slotThumbnailLoaded(), Digikam::ItemInfo::thumbnailInfo(), and Digikam::ThumbsDbInfoProvider::thumbnailInfo().
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().
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 |
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().