digiKam
Digikam::UMSCamera Class Reference
+ Inheritance diagram for Digikam::UMSCamera:

Public Types

enum  CameraDriverType { GPhotoDriver = 0 , UMSDriver }
 

Signals

void signalFolderList (const QStringList &)
 

Public Member Functions

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

Detailed Description

USB Mass Storage camera Implementation of abstract type DKCamera

Member Enumeration Documentation

◆ CameraDriverType

Enumerator
GPhotoDriver 
UMSDriver 

Constructor & Destructor Documentation

◆ UMSCamera()

Digikam::UMSCamera::UMSCamera ( const QString &  title,
const QString &  model,
const QString &  port,
const QString &  path 
)
explicit

◆ ~UMSCamera()

Digikam::UMSCamera::~UMSCamera ( )
override

Member Function Documentation

◆ cameraAbout()

bool Digikam::UMSCamera::cameraAbout ( QString &  about)
overridevirtual

Implements Digikam::DKCamera.

◆ cameraDriverType()

DKCamera::CameraDriverType Digikam::UMSCamera::cameraDriverType ( )
overridevirtual

◆ cameraManual()

bool Digikam::UMSCamera::cameraManual ( QString &  manual)
overridevirtual

Implements Digikam::DKCamera.

◆ cameraMD5ID()

QByteArray Digikam::UMSCamera::cameraMD5ID ( )
overridevirtual

◆ cameraSummary()

◆ cancel()

void Digikam::UMSCamera::cancel ( )
overridevirtual

Implements Digikam::DKCamera.

◆ capture()

bool Digikam::UMSCamera::capture ( CamItemInfo itemInfo)
overridevirtual

Method not supported by UMS camera.

Implements Digikam::DKCamera.

◆ captureImagePreviewSupport()

bool Digikam::DKCamera::captureImagePreviewSupport ( ) const
inherited

◆ captureImageSupport()

bool Digikam::DKCamera::captureImageSupport ( ) const
inherited

◆ delDirSupport()

bool Digikam::DKCamera::delDirSupport ( ) const
inherited

◆ deleteItem()

bool Digikam::UMSCamera::deleteItem ( const QString &  folder,
const QString &  itemName 
)
overridevirtual

◆ deleteSupport()

bool Digikam::DKCamera::deleteSupport ( ) const
inherited

◆ doConnect()

◆ downloadItem()

bool Digikam::UMSCamera::downloadItem ( const QString &  folder,
const QString &  itemName,
const QString &  saveFile 
)
overridevirtual

◆ fillItemInfoFromMetadata()

◆ getFolders()

bool Digikam::UMSCamera::getFolders ( const QString &  folder)
overridevirtual

◆ getFreeSpace()

bool Digikam::UMSCamera::getFreeSpace ( unsigned long &  kBSize,
unsigned long &  kBAvail 
)
overridevirtual

NOTE: implemented in gui, outside the camera thread.

Implements Digikam::DKCamera.

◆ getItemInfo()

◆ getItemsInfoList()

bool Digikam::UMSCamera::getItemsInfoList ( const QString &  folder,
bool  useMetadata,
CamItemInfoList infoList 
)
overridevirtual

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

Implements Digikam::DKCamera.

References Digikam::DeleteDialogMode::Files, and getItemInfo().

◆ getMetadata()

bool Digikam::UMSCamera::getMetadata ( const QString &  folder,
const QString &  itemName,
DMetadata meta 
)
overridevirtual

◆ getPreview()

bool Digikam::UMSCamera::getPreview ( QImage &  preview)
overridevirtual

Method not supported by UMS camera.

Implements Digikam::DKCamera.

◆ getThumbnail()

bool Digikam::UMSCamera::getThumbnail ( const QString &  folder,
const QString &  itemName,
QImage &  thumbnail 
)
overridevirtual

◆ mimeType()

◆ mkDirSupport()

bool Digikam::DKCamera::mkDirSupport ( ) const
inherited

◆ model()

◆ path()

◆ port()

◆ printSupportedFeatures()

◆ setLockItem()

bool Digikam::UMSCamera::setLockItem ( const QString &  folder,
const QString &  itemName,
bool  lock 
)
overridevirtual

Implements Digikam::DKCamera.

◆ signalFolderList

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

◆ thumbnailSupport()

bool Digikam::DKCamera::thumbnailSupport ( ) const
inherited

◆ title()

QString Digikam::DKCamera::title ( ) const
inherited

◆ uploadItem()

◆ uploadSupport()

bool Digikam::DKCamera::uploadSupport ( ) const
inherited

◆ uuid()

QString Digikam::DKCamera::uuid ( ) const
inherited

References Digikam::DKCamera::m_uuid.

Referenced by cameraMD5ID(), and cameraSummary().

Member Data Documentation

◆ m_audioFilter

QString Digikam::DKCamera::m_audioFilter
protectedinherited

◆ m_captureImagePreviewSupport

bool Digikam::DKCamera::m_captureImagePreviewSupport
protectedinherited

◆ m_captureImageSupport

bool Digikam::DKCamera::m_captureImageSupport
protectedinherited

◆ m_delDirSupport

bool Digikam::DKCamera::m_delDirSupport
protectedinherited

◆ m_deleteSupport

bool Digikam::DKCamera::m_deleteSupport
protectedinherited

◆ m_imageFilter

QString Digikam::DKCamera::m_imageFilter
protectedinherited

◆ m_mkDirSupport

bool Digikam::DKCamera::m_mkDirSupport
protectedinherited

◆ m_model

QString Digikam::DKCamera::m_model
protectedinherited

◆ m_movieFilter

QString Digikam::DKCamera::m_movieFilter
protectedinherited

◆ m_path

QString Digikam::DKCamera::m_path
protectedinherited

◆ m_port

QString Digikam::DKCamera::m_port
protectedinherited

◆ m_rawFilter

QString Digikam::DKCamera::m_rawFilter
protectedinherited

◆ m_thumbnailSupport

bool Digikam::DKCamera::m_thumbnailSupport
protectedinherited

◆ m_title

QString Digikam::DKCamera::m_title
protectedinherited

◆ m_uploadSupport

bool Digikam::DKCamera::m_uploadSupport
protectedinherited

◆ m_uuid

QString Digikam::DKCamera::m_uuid
protectedinherited

Referenced by Digikam::DKCamera::uuid().


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