digiKam
Digikam::DKCamera Class Referenceabstract
+ Inheritance diagram for Digikam::DKCamera:

Public Types

enum  CameraDriverType { GPhotoDriver = 0 , UMSDriver }
 

Signals

void signalFolderList (const QStringList &)
 

Public Member Functions

virtual bool cameraAbout (QString &about)=0
 
virtual DKCamera::CameraDriverType cameraDriverType ()=0
 
virtual bool cameraManual (QString &manual)=0
 
virtual QByteArray cameraMD5ID ()=0
 
virtual bool cameraSummary (QString &summary)=0
 
virtual void cancel ()=0
 
virtual bool capture (CamItemInfo &itemInfo)=0
 
bool captureImagePreviewSupport () const
 
bool captureImageSupport () const
 
bool delDirSupport () const
 
virtual bool deleteItem (const QString &folder, const QString &itemName)=0
 
bool deleteSupport () const
 
 DKCamera (const QString &title, const QString &model, const QString &port, const QString &path)
 
virtual bool doConnect ()=0
 
virtual bool downloadItem (const QString &folder, const QString &itemName, const QString &saveFile)=0
 
virtual bool getFolders (const QString &folder)=0
 
virtual bool getFreeSpace (unsigned long &kBSize, unsigned long &kBAvail)=0
 
virtual void getItemInfo (const QString &folder, const QString &itemName, CamItemInfo &info, bool useMetadata)=0
 
virtual bool getItemsInfoList (const QString &folder, bool useMetadata, CamItemInfoList &infoList)=0
 If getImageDimensions is false, the camera shall set width and height to -1 if the values are not immediately available. More...
 
virtual bool getMetadata (const QString &folder, const QString &itemName, DMetadata &meta)=0
 
virtual bool getPreview (QImage &preview)=0
 
virtual bool getThumbnail (const QString &folder, const QString &itemName, QImage &thumbnail)=0
 
QString mimeType (const QString &fileext) const
 
bool mkDirSupport () const
 
QString model () const
 
QString path () const
 
QString port () const
 
void printSupportedFeatures ()
 
virtual bool setLockItem (const QString &folder, const QString &itemName, bool lock)=0
 
bool thumbnailSupport () const
 
QString title () const
 
virtual bool uploadItem (const QString &folder, const QString &itemName, const QString &localFile, CamItemInfo &itemInfo)=0
 
bool uploadSupport () const
 
QString uuid () const
 
 ~DKCamera () override
 

Protected Member Functions

void fillItemInfoFromMetadata (CamItemInfo &item, const DMetadata &meta) const
 

Protected Attributes

QString m_audioFilter
 
bool m_captureImagePreviewSupport
 
bool m_captureImageSupport
 
bool m_delDirSupport
 
bool m_deleteSupport
 
QString m_imageFilter
 
bool m_mkDirSupport
 
QString m_model
 
QString m_movieFilter
 
QString m_path
 
QString m_port
 
QString m_rawFilter
 
bool m_thumbnailSupport
 
QString m_title
 
bool m_uploadSupport
 
QString m_uuid
 

Member Enumeration Documentation

◆ CameraDriverType

Enumerator
GPhotoDriver 
UMSDriver 

Constructor & Destructor Documentation

◆ DKCamera()

◆ ~DKCamera()

Digikam::DKCamera::~DKCamera ( )
override

Member Function Documentation

◆ cameraAbout()

virtual bool Digikam::DKCamera::cameraAbout ( QString &  about)
pure virtual

Implemented in Digikam::UMSCamera, and Digikam::GPCamera.

◆ cameraDriverType()

virtual DKCamera::CameraDriverType Digikam::DKCamera::cameraDriverType ( )
pure virtual

Implemented in Digikam::UMSCamera, and Digikam::GPCamera.

◆ cameraManual()

virtual bool Digikam::DKCamera::cameraManual ( QString &  manual)
pure virtual

Implemented in Digikam::UMSCamera, and Digikam::GPCamera.

◆ cameraMD5ID()

virtual QByteArray Digikam::DKCamera::cameraMD5ID ( )
pure virtual

Implemented in Digikam::UMSCamera, and Digikam::GPCamera.

◆ cameraSummary()

virtual bool Digikam::DKCamera::cameraSummary ( QString &  summary)
pure virtual

Implemented in Digikam::UMSCamera, and Digikam::GPCamera.

◆ cancel()

virtual void Digikam::DKCamera::cancel ( )
pure virtual

Implemented in Digikam::UMSCamera, and Digikam::GPCamera.

◆ capture()

virtual bool Digikam::DKCamera::capture ( CamItemInfo itemInfo)
pure virtual

Implemented in Digikam::UMSCamera, and Digikam::GPCamera.

◆ captureImagePreviewSupport()

bool Digikam::DKCamera::captureImagePreviewSupport ( ) const

◆ captureImageSupport()

bool Digikam::DKCamera::captureImageSupport ( ) const

◆ delDirSupport()

bool Digikam::DKCamera::delDirSupport ( ) const

◆ deleteItem()

virtual bool Digikam::DKCamera::deleteItem ( const QString &  folder,
const QString &  itemName 
)
pure virtual

Implemented in Digikam::UMSCamera, and Digikam::GPCamera.

◆ deleteSupport()

bool Digikam::DKCamera::deleteSupport ( ) const

◆ doConnect()

virtual bool Digikam::DKCamera::doConnect ( )
pure virtual

Implemented in Digikam::UMSCamera, and Digikam::GPCamera.

◆ downloadItem()

virtual bool Digikam::DKCamera::downloadItem ( const QString &  folder,
const QString &  itemName,
const QString &  saveFile 
)
pure virtual

Implemented in Digikam::UMSCamera, and Digikam::GPCamera.

◆ fillItemInfoFromMetadata()

◆ getFolders()

virtual bool Digikam::DKCamera::getFolders ( const QString &  folder)
pure virtual

Implemented in Digikam::UMSCamera, and Digikam::GPCamera.

◆ getFreeSpace()

virtual bool Digikam::DKCamera::getFreeSpace ( unsigned long &  kBSize,
unsigned long &  kBAvail 
)
pure virtual

Implemented in Digikam::UMSCamera, and Digikam::GPCamera.

◆ getItemInfo()

virtual void Digikam::DKCamera::getItemInfo ( const QString &  folder,
const QString &  itemName,
CamItemInfo info,
bool  useMetadata 
)
pure virtual

Implemented in Digikam::UMSCamera, and Digikam::GPCamera.

◆ getItemsInfoList()

virtual bool Digikam::DKCamera::getItemsInfoList ( const QString &  folder,
bool  useMetadata,
CamItemInfoList infoList 
)
pure virtual

If getImageDimensions is false, the camera shall set width and height to -1 if the values are not immediately available.

Implemented in Digikam::GPCamera, and Digikam::UMSCamera.

◆ getMetadata()

virtual bool Digikam::DKCamera::getMetadata ( const QString &  folder,
const QString &  itemName,
DMetadata meta 
)
pure virtual

Implemented in Digikam::UMSCamera, and Digikam::GPCamera.

◆ getPreview()

virtual bool Digikam::DKCamera::getPreview ( QImage &  preview)
pure virtual

Implemented in Digikam::UMSCamera, and Digikam::GPCamera.

◆ getThumbnail()

virtual bool Digikam::DKCamera::getThumbnail ( const QString &  folder,
const QString &  itemName,
QImage &  thumbnail 
)
pure virtual

Implemented in Digikam::UMSCamera, and Digikam::GPCamera.

◆ mimeType()

QString Digikam::DKCamera::mimeType ( const QString &  fileext) const

◆ mkDirSupport()

bool Digikam::DKCamera::mkDirSupport ( ) const

◆ model()

◆ path()

◆ port()

◆ printSupportedFeatures()

◆ setLockItem()

virtual bool Digikam::DKCamera::setLockItem ( const QString &  folder,
const QString &  itemName,
bool  lock 
)
pure virtual

Implemented in Digikam::UMSCamera, and Digikam::GPCamera.

◆ signalFolderList

void Digikam::DKCamera::signalFolderList ( const QStringList &  )
signal

◆ thumbnailSupport()

bool Digikam::DKCamera::thumbnailSupport ( ) const

◆ title()

QString Digikam::DKCamera::title ( ) const

◆ uploadItem()

virtual bool Digikam::DKCamera::uploadItem ( const QString &  folder,
const QString &  itemName,
const QString &  localFile,
CamItemInfo itemInfo 
)
pure virtual

Implemented in Digikam::GPCamera, and Digikam::UMSCamera.

◆ uploadSupport()

bool Digikam::DKCamera::uploadSupport ( ) const

◆ uuid()

QString Digikam::DKCamera::uuid ( ) const

Member Data Documentation

◆ m_audioFilter

QString Digikam::DKCamera::m_audioFilter
protected

Referenced by DKCamera(), and mimeType().

◆ m_captureImagePreviewSupport

bool Digikam::DKCamera::m_captureImagePreviewSupport
protected

◆ m_captureImageSupport

bool Digikam::DKCamera::m_captureImageSupport
protected

◆ m_delDirSupport

bool Digikam::DKCamera::m_delDirSupport
protected

◆ m_deleteSupport

bool Digikam::DKCamera::m_deleteSupport
protected

◆ m_imageFilter

QString Digikam::DKCamera::m_imageFilter
protected

Referenced by DKCamera(), and mimeType().

◆ m_mkDirSupport

bool Digikam::DKCamera::m_mkDirSupport
protected

◆ m_model

QString Digikam::DKCamera::m_model
protected

◆ m_movieFilter

QString Digikam::DKCamera::m_movieFilter
protected

Referenced by DKCamera(), and mimeType().

◆ m_path

QString Digikam::DKCamera::m_path
protected

◆ m_port

QString Digikam::DKCamera::m_port
protected

◆ m_rawFilter

QString Digikam::DKCamera::m_rawFilter
protected

Referenced by DKCamera(), and mimeType().

◆ m_thumbnailSupport

bool Digikam::DKCamera::m_thumbnailSupport
protected

◆ m_title

QString Digikam::DKCamera::m_title
protected

Referenced by title().

◆ m_uploadSupport

bool Digikam::DKCamera::m_uploadSupport
protected

◆ m_uuid

QString Digikam::DKCamera::m_uuid
protected

Referenced by uuid().


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