digiKam
Loading...
Searching...
No Matches
Digikam::CamItemInfo Class Reference

#include <camiteminfo.h>

Public Types

enum  DownloadStatus {
  DownloadUnknown = -1 , DownloadedNo = 0 , DownloadedYes = 1 , DownloadFailed = 2 ,
  DownloadStarted = 3 , NewPicture = 4
}
 

Public Member Functions

 CamItemInfo ()=default
 
bool isNull () const
 
bool operator!= (const CamItemInfo &info) const
 
bool operator== (const CamItemInfo &info) const
 
QUrl url () const
 
 ~CamItemInfo ()=default
 

Public Attributes

int colorLabel = NoColorLabel
 Pre-picklabel value of camera file.
 
QDateTime ctime
 Created time stamp of camera file.
 
int downloaded = DownloadUnknown
 Variable values depending of user actions.
 
QString downloadName
 Preview of the file-name to use during download from camera.
 
QString folder
 Folder path to access to file in camera.
 
int height = -1
 Image height in pixels.
 
qlonglong id = -1
 Unique image id.
 
QString mime
 Type mime of camera file.
 
QString name
 File name in camera file-system.
 
PhotoInfoContainer photoInfo
 Photo Info from camera file (get from file metadata)
 
int pickLabel = NoPickLabel
 Pre-picklabel value of camera file.
 
bool previewPossible = false
 
int rating = NoRating
 Pre-rating value of camera file.
 
int readPermissions = -1
 Read permission of camera file.
 
qint64 size = -1
 Static values taken from camera.
 
QList< int > tagIds
 Pre-tags ids of camera file.
 
int width = -1
 Image width in pixels.
 
int writePermissions = -1
 Write permission of camera file.
 

Member Enumeration Documentation

◆ DownloadStatus

Enumerator
DownloadUnknown 

Download state is unknown.

DownloadedNo 

Is not yet downloaded on computer.

DownloadedYes 

Is already downloaded on computer.

DownloadFailed 

Download is failed or have been aborted by user.

DownloadStarted 

Download is under progress.

NewPicture 

This is a new item from camera.

Constructor & Destructor Documentation

◆ CamItemInfo()

Digikam::CamItemInfo::CamItemInfo ( )
default

◆ ~CamItemInfo()

Digikam::CamItemInfo::~CamItemInfo ( )
default

References Digikam::operator==().

Member Function Documentation

◆ isNull()

◆ operator!=()

bool Digikam::CamItemInfo::operator!= ( const CamItemInfo info) const

Compare for camera information un-equality, not including variable values.

References operator==().

◆ 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!=().

◆ url()

Member Data Documentation

◆ colorLabel

◆ ctime

◆ downloaded

◆ downloadName

QString Digikam::CamItemInfo::downloadName

Preview of the file-name to use during download from camera.

Referenced by isNull(), Digikam::operator<<(), Digikam::operator<<(), Digikam::operator>>(), and Digikam::ImportItemPropertiesTab::setCurrentItem().

◆ folder

◆ height

◆ id

◆ mime

◆ name

◆ photoInfo

◆ pickLabel

◆ previewPossible

bool Digikam::CamItemInfo::previewPossible = false

◆ rating

◆ readPermissions

◆ size

◆ tagIds

◆ width

◆ writePermissions


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