digiKam
|
Public Types | |
enum | DownloadStatus { DownloadUnknown = -1 , DownloadedNo = 0 , DownloadedYes = 1 , DownloadFailed = 2 , DownloadStarted = 3 , NewPicture = 4 } |
Public Member Functions | |
CamItemInfo () | |
bool | isNull () const |
bool | operator!= (const CamItemInfo &info) const |
bool | operator== (const CamItemInfo &info) const |
QUrl | url () const |
~CamItemInfo () | |
Public Attributes | |
int | colorLabel |
Pre-picklabel value of camera file. More... | |
QDateTime | ctime |
Created time stamp of camera file. More... | |
int | downloaded |
Variable values depending of user actions. More... | |
QString | downloadName |
New file-name to use during download from camera. More... | |
QString | folder |
Folder path to access to file in camera. More... | |
int | height |
Image height in pixels. More... | |
qlonglong | id |
Unique image id. More... | |
QString | mime |
Type mime of camera file. More... | |
QString | name |
File name in camera file-system. More... | |
PhotoInfoContainer | photoInfo |
Photo Info from camera file (get from file metadata) More... | |
int | pickLabel |
Pre-picklabel value of camera file. More... | |
bool | previewPossible |
int | rating |
Pre-rating value of camera file. More... | |
int | readPermissions |
Read permission of camera file. More... | |
qint64 | size |
Static values taken from camera. More... | |
QList< int > | tagIds |
Pre-tags ids of camera file. More... | |
int | width |
Image width in pixels. More... | |
int | writePermissions |
Write permission of camera file. More... | |
|
explicit |
Digikam::CamItemInfo::~CamItemInfo | ( | ) |
bool Digikam::CamItemInfo::isNull | ( | ) | const |
Return true if all member in this container are null.
References colorLabel, ctime, downloaded, downloadName, DownloadUnknown, folder, height, Digikam::PhotoInfoContainer::isNull(), mime, name, photoInfo, pickLabel, rating, readPermissions, size, tagIds, width, and writePermissions.
Referenced by Digikam::ImportIconView::activated(), Digikam::ImportThumbnailModel::data(), Digikam::ImportCategorizedView::hintAt(), Digikam::ImportCategorizedView::indexActivated(), Digikam::ImportItemPropertiesSideBarImport::itemChanged(), Digikam::MapViewModelHelper::itemCoordinates(), Digikam::ImportDelegate::paint(), Digikam::ImportPreviewView::setCamItemInfo(), Digikam::ImportItemPropertiesTab::setCurrentItem(), Digikam::ImportStackedView::setPreviewItem(), and Digikam::ImportPreviewView::showContextMenu().
bool Digikam::CamItemInfo::operator!= | ( | const CamItemInfo & | info | ) | const |
Compare for camera information un-equality, not including variable values.
References operator==().
bool Digikam::CamItemInfo::operator== | ( | const CamItemInfo & | info | ) | const |
Compare for camera information equality, not including variable values.
References colorLabel, ctime, folder, height, id, mime, name, photoInfo, pickLabel, rating, readPermissions, size, tagIds, width, and writePermissions.
Referenced by operator!=().
QUrl Digikam::CamItemInfo::url | ( | ) | const |
Return the local file system (mounted on computer) url to the camera file.
Referenced by Digikam::ImportIconView::activated(), Digikam::MapViewModelHelper::bestRepresentativeIndexFromList(), Digikam::ImportItemModel::camItemInfo(), Digikam::ImportItemModel::camItemInfos(), Digikam::CamItemSortSettings::compare(), Digikam::ImportCategorizedView::currentUrl(), Digikam::ImportThumbnailModel::data(), Digikam::CameraThumbsCtrl::getThumbInfo(), Digikam::ImportItemModel::hasImage(), Digikam::MapViewModelHelper::itemCoordinates(), Digikam::ImportCategorizedView::selectedUrls(), Digikam::ImportPreviewView::setCamItemInfo(), Digikam::ImportStackedView::setPreviewItem(), Digikam::ImportPreviewView::showContextMenu(), Digikam::CameraThumbsCtrl::updateThumbInfoFromCache(), and Digikam::ImportCategorizedView::urls().
int Digikam::CamItemInfo::colorLabel |
Pre-picklabel value of camera file.
Referenced by Digikam::ImportIconView::assignColorLabel(), Digikam::ImportIconView::assignColorLabelToSelected(), isNull(), Digikam::operator<<(), operator==(), Digikam::operator>>(), and Digikam::ImportDelegate::paint().
QDateTime Digikam::CamItemInfo::ctime |
Created time stamp of camera file.
Referenced by Digikam::ImportToolTipFiller::CamItemInfoTipContents(), Digikam::GPCamera::capture(), Digikam::ImportFilterModel::categoryIdentifier(), Digikam::CamItemSortSettings::compare(), Digikam::CamItemSortSettings::compareCategories(), Digikam::DKCamera::fillItemInfoFromMetadata(), Digikam::UMSCamera::getItemInfo(), isNull(), Digikam::operator<<(), operator==(), Digikam::operator>>(), Digikam::ImportDelegate::paint(), Digikam::ImportItemPropertiesTab::setCurrentItem(), Digikam::UMSCamera::uploadItem(), and Digikam::GPCamera::uploadItem().
int Digikam::CamItemInfo::downloaded |
Variable values depending of user actions.
Download status of camera file. See DownloadStatus enum for details
Referenced by Digikam::GPCamera::capture(), Digikam::ImportDownloadOverlay::checkIndex(), Digikam::CamItemSortSettings::compare(), Digikam::ImportView::downloadedCamItemInfos(), isNull(), Digikam::Filter::matchesCurrentFilter(), Digikam::operator<<(), Digikam::operator>>(), Digikam::ImportDelegate::paint(), Digikam::ImportItemPropertiesTab::setCurrentItem(), Digikam::UMSCamera::uploadItem(), and Digikam::GPCamera::uploadItem().
QString Digikam::CamItemInfo::downloadName |
New file-name to use during download from camera.
Referenced by isNull(), Digikam::operator<<(), Digikam::operator>>(), Digikam::ImportDelegate::paint(), and Digikam::ImportItemPropertiesTab::setCurrentItem().
QString Digikam::CamItemInfo::folder |
Folder path to access to file in camera.
Referenced by Digikam::GPCamera::capture(), Digikam::ImportFilterModel::categoryIdentifier(), Digikam::CamItemSortSettings::compareCategories(), Digikam::ImportDragDropHandler::createMimeData(), Digikam::CameraController::executeCommand(), Digikam::UMSCamera::getItemInfo(), Digikam::CameraController::getThumbsInfo(), isNull(), Digikam::Filter::matchesCurrentFilter(), Digikam::operator<<(), operator==(), Digikam::operator>>(), Digikam::ImportItemPropertiesTab::setCurrentItem(), Digikam::ImportUI::slotUploadItems(), Digikam::UMSCamera::uploadItem(), Digikam::GPCamera::uploadItem(), and url().
int Digikam::CamItemInfo::height |
Image height in pixels.
Referenced by Digikam::ImportToolTipFiller::CamItemInfoTipContents(), Digikam::GPCamera::capture(), Digikam::DKCamera::fillItemInfoFromMetadata(), isNull(), Digikam::operator<<(), operator==(), Digikam::operator>>(), Digikam::ImportDelegate::paint(), Digikam::ImportItemPropertiesTab::setCurrentItem(), Digikam::UMSCamera::uploadItem(), and Digikam::GPCamera::uploadItem().
qlonglong Digikam::CamItemInfo::id |
Unique image id.
Referenced by Digikam::ImportItemModel::indexesForCamItemInfo(), Digikam::ImportItemModel::indexForCamItemInfo(), Digikam::ImportItemModel::numberOfIndexesForCamItemInfo(), Digikam::operator<<(), operator==(), Digikam::operator>>(), Digikam::ImportItemModel::removeCamItemInfos(), Digikam::ImportPreviewView::showContextMenu(), Digikam::ImportIconView::showContextMenuOnInfo(), and Digikam::ImportItemModel::uniqueCamItemInfos().
QString Digikam::CamItemInfo::mime |
Type mime of camera file.
Referenced by Digikam::ImportToolTipFiller::CamItemInfoTipContents(), Digikam::GPCamera::capture(), Digikam::ImportFilterModel::categoryIdentifier(), Digikam::ImportRotateOverlay::checkIndex(), Digikam::CamItemSortSettings::compareCategories(), Digikam::CameraController::executeCommand(), Digikam::UMSCamera::getItemInfo(), isNull(), Digikam::operator<<(), operator==(), Digikam::operator>>(), Digikam::ImportDelegate::paint(), Digikam::ImportPreviewView::setCamItemInfo(), Digikam::ImportItemPropertiesTab::setCurrentItem(), Digikam::ImportStackedView::setPreviewItem(), Digikam::UMSCamera::uploadItem(), and Digikam::GPCamera::uploadItem().
QString Digikam::CamItemInfo::name |
File name in camera file-system.
Referenced by Digikam::ImportToolTipFiller::CamItemInfoTipContents(), Digikam::GPCamera::capture(), Digikam::CamItemSortSettings::compare(), Digikam::ImportDragDropHandler::createMimeData(), Digikam::CameraController::executeCommand(), Digikam::UMSCamera::getItemInfo(), Digikam::CameraThumbsCtrl::getThumbInfo(), Digikam::CameraController::getThumbsInfo(), isNull(), Digikam::Filter::matchesCurrentFilter(), Digikam::operator<<(), operator==(), Digikam::operator>>(), Digikam::ImportItemPropertiesTab::setCurrentItem(), Digikam::ImportUI::slotUploadItems(), Digikam::UMSCamera::uploadItem(), Digikam::GPCamera::uploadItem(), and url().
PhotoInfoContainer Digikam::CamItemInfo::photoInfo |
Photo Info from camera file (get from file metadata)
Referenced by Digikam::ImportToolTipFiller::CamItemInfoTipContents(), Digikam::ImportCoordinatesOverlay::checkIndex(), Digikam::DKCamera::fillItemInfoFromMetadata(), isNull(), Digikam::operator<<(), operator==(), Digikam::operator>>(), Digikam::ImportDelegate::paint(), and Digikam::UMSCamera::uploadItem().
int Digikam::CamItemInfo::pickLabel |
Pre-picklabel value of camera file.
Referenced by Digikam::ImportIconView::assignPickLabel(), Digikam::ImportIconView::assignPickLabelToSelected(), isNull(), Digikam::operator<<(), operator==(), Digikam::operator>>(), and Digikam::ImportDelegate::paint().
bool Digikam::CamItemInfo::previewPossible |
Referenced by Digikam::ImportThumbnailModel::data(), Digikam::UMSCamera::getItemInfo(), and Digikam::operator<<().
int Digikam::CamItemInfo::rating |
Pre-rating value of camera file.
Referenced by Digikam::ImportIconView::assignRating(), Digikam::ImportThumbnailBar::assignRating(), Digikam::ImportIconView::assignRatingToSelected(), Digikam::CamItemSortSettings::compare(), isNull(), Digikam::operator<<(), operator==(), Digikam::operator>>(), Digikam::ImportDelegate::paint(), and Digikam::ImportRatingOverlay::updateRating().
int Digikam::CamItemInfo::readPermissions |
Read permission of camera file.
Referenced by Digikam::GPCamera::capture(), Digikam::UMSCamera::getItemInfo(), isNull(), Digikam::operator<<(), operator==(), Digikam::operator>>(), Digikam::ImportItemPropertiesTab::setCurrentItem(), Digikam::UMSCamera::uploadItem(), and Digikam::GPCamera::uploadItem().
qint64 Digikam::CamItemInfo::size |
Static values taken from camera.
Camera file size in bytes.
Referenced by Digikam::ImportToolTipFiller::CamItemInfoTipContents(), Digikam::GPCamera::capture(), Digikam::CamItemSortSettings::compare(), Digikam::UMSCamera::getItemInfo(), isNull(), Digikam::operator<<(), operator==(), Digikam::operator>>(), Digikam::ImportDelegate::paint(), Digikam::ImportItemPropertiesTab::setCurrentItem(), Digikam::UMSCamera::uploadItem(), and Digikam::GPCamera::uploadItem().
QList<int> Digikam::CamItemInfo::tagIds |
Pre-tags ids of camera file.
Referenced by Digikam::ImportIconView::assignTagToSelected(), isNull(), Digikam::operator<<(), operator==(), Digikam::operator>>(), Digikam::ImportDelegate::paint(), and Digikam::ImportIconView::removeTagFromSelected().
int Digikam::CamItemInfo::width |
Image width in pixels.
Referenced by Digikam::ImportToolTipFiller::CamItemInfoTipContents(), Digikam::GPCamera::capture(), Digikam::DKCamera::fillItemInfoFromMetadata(), isNull(), Digikam::operator<<(), operator==(), Digikam::operator>>(), Digikam::ImportDelegate::paint(), Digikam::ImportItemPropertiesTab::setCurrentItem(), Digikam::UMSCamera::uploadItem(), and Digikam::GPCamera::uploadItem().
int Digikam::CamItemInfo::writePermissions |
Write permission of camera file.
Referenced by Digikam::GPCamera::capture(), Digikam::ImportLockOverlay::checkIndex(), Digikam::UMSCamera::getItemInfo(), isNull(), Digikam::operator<<(), operator==(), Digikam::operator>>(), Digikam::ImportDelegate::paint(), Digikam::ImportItemPropertiesTab::setCurrentItem(), Digikam::UMSCamera::uploadItem(), and Digikam::GPCamera::uploadItem().