digiKam
Digikam::CamItemInfo Class Reference

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...
 

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 ( )
explicit

◆ ~CamItemInfo()

Digikam::CamItemInfo::~CamItemInfo ( )

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

◆ folder

◆ height

◆ id

◆ mime

◆ name

◆ photoInfo

◆ pickLabel

◆ previewPossible

bool Digikam::CamItemInfo::previewPossible

◆ rating

◆ readPermissions

◆ size

◆ tagIds

◆ width

◆ writePermissions


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