digiKam
|
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 |
|
explicit |
References Digikam::ApplicationSettings::getAudioFileFilter(), Digikam::ApplicationSettings::getImageFileFilter(), Digikam::ApplicationSettings::getMovieFileFilter(), Digikam::ApplicationSettings::getRawFileFilter(), Digikam::ApplicationSettings::instance(), m_audioFilter, m_imageFilter, m_movieFilter, and m_rawFilter.
|
override |
|
pure virtual |
Implemented in Digikam::UMSCamera, and Digikam::GPCamera.
|
pure virtual |
Implemented in Digikam::UMSCamera, and Digikam::GPCamera.
|
pure virtual |
Implemented in Digikam::UMSCamera, and Digikam::GPCamera.
|
pure virtual |
Implemented in Digikam::UMSCamera, and Digikam::GPCamera.
|
pure virtual |
Implemented in Digikam::UMSCamera, and Digikam::GPCamera.
|
pure virtual |
Implemented in Digikam::UMSCamera, and Digikam::GPCamera.
|
pure virtual |
Implemented in Digikam::UMSCamera, and Digikam::GPCamera.
bool Digikam::DKCamera::captureImagePreviewSupport | ( | ) | const |
References m_captureImagePreviewSupport.
Referenced by printSupportedFeatures().
bool Digikam::DKCamera::captureImageSupport | ( | ) | const |
References m_captureImageSupport.
Referenced by Digikam::GPCamera::cameraSummary(), Digikam::UMSCamera::cameraSummary(), and printSupportedFeatures().
bool Digikam::DKCamera::delDirSupport | ( | ) | const |
References m_delDirSupport.
Referenced by Digikam::GPCamera::cameraSummary(), Digikam::UMSCamera::cameraSummary(), and printSupportedFeatures().
|
pure virtual |
Implemented in Digikam::UMSCamera, and Digikam::GPCamera.
bool Digikam::DKCamera::deleteSupport | ( | ) | const |
References m_deleteSupport.
Referenced by Digikam::GPCamera::cameraSummary(), Digikam::UMSCamera::cameraSummary(), and printSupportedFeatures().
|
pure virtual |
Implemented in Digikam::UMSCamera, and Digikam::GPCamera.
|
pure virtual |
Implemented in Digikam::UMSCamera, and Digikam::GPCamera.
|
protected |
References Digikam::CamItemInfo::ctime, Digikam::MetaEngine::getItemDateTime(), Digikam::MetaEngine::getItemDimensions(), Digikam::DMetadata::getMSecsInfo(), Digikam::DMetadata::getPhotographInformation(), Digikam::CamItemInfo::height, Digikam::CamItemInfo::photoInfo, and Digikam::CamItemInfo::width.
Referenced by Digikam::UMSCamera::getItemInfo().
|
pure virtual |
Implemented in Digikam::UMSCamera, and Digikam::GPCamera.
|
pure virtual |
Implemented in Digikam::UMSCamera, and Digikam::GPCamera.
|
pure virtual |
Implemented in Digikam::UMSCamera, and Digikam::GPCamera.
|
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.
|
pure virtual |
Implemented in Digikam::UMSCamera, and Digikam::GPCamera.
|
pure virtual |
Implemented in Digikam::UMSCamera, and Digikam::GPCamera.
|
pure virtual |
Implemented in Digikam::UMSCamera, and Digikam::GPCamera.
QString Digikam::DKCamera::mimeType | ( | const QString & | fileext | ) | const |
References m_audioFilter, m_imageFilter, m_movieFilter, and m_rawFilter.
Referenced by Digikam::GPCamera::capture(), Digikam::UMSCamera::getItemInfo(), Digikam::UMSCamera::uploadItem(), and Digikam::GPCamera::uploadItem().
bool Digikam::DKCamera::mkDirSupport | ( | ) | const |
References m_mkDirSupport.
Referenced by Digikam::GPCamera::cameraSummary(), Digikam::UMSCamera::cameraSummary(), and printSupportedFeatures().
QString Digikam::DKCamera::model | ( | ) | const |
QString Digikam::DKCamera::path | ( | ) | const |
QString Digikam::DKCamera::port | ( | ) | const |
References m_port.
Referenced by Digikam::GPCamera::autoDetect(), Digikam::GPCamera::cameraSummary(), Digikam::UMSCamera::cameraSummary(), and Digikam::GPCamera::findConnectedUsbCamera().
void Digikam::DKCamera::printSupportedFeatures | ( | ) |
|
pure virtual |
Implemented in Digikam::UMSCamera, and Digikam::GPCamera.
|
signal |
Referenced by Digikam::GPCamera::getFolders(), and Digikam::UMSCamera::getFolders().
bool Digikam::DKCamera::thumbnailSupport | ( | ) | const |
References m_thumbnailSupport.
Referenced by Digikam::GPCamera::cameraSummary(), Digikam::UMSCamera::cameraSummary(), and printSupportedFeatures().
QString Digikam::DKCamera::title | ( | ) | const |
References m_title.
Referenced by Digikam::GPCamera::cameraSummary(), Digikam::UMSCamera::cameraSummary(), and printSupportedFeatures().
|
pure virtual |
Implemented in Digikam::GPCamera, and Digikam::UMSCamera.
bool Digikam::DKCamera::uploadSupport | ( | ) | const |
References m_uploadSupport.
Referenced by Digikam::GPCamera::cameraSummary(), Digikam::UMSCamera::cameraSummary(), and printSupportedFeatures().
QString Digikam::DKCamera::uuid | ( | ) | const |
References m_uuid.
Referenced by Digikam::UMSCamera::cameraMD5ID(), and Digikam::UMSCamera::cameraSummary().
|
protected |
Referenced by DKCamera(), and mimeType().
|
protected |
Referenced by captureImagePreviewSupport(), and Digikam::GPCamera::doConnect().
|
protected |
Referenced by captureImageSupport(), Digikam::GPCamera::doConnect(), and Digikam::UMSCamera::doConnect().
|
protected |
Referenced by delDirSupport(), Digikam::GPCamera::doConnect(), and Digikam::UMSCamera::doConnect().
|
protected |
Referenced by deleteSupport(), Digikam::GPCamera::doConnect(), and Digikam::UMSCamera::doConnect().
|
protected |
Referenced by DKCamera(), and mimeType().
|
protected |
Referenced by Digikam::GPCamera::doConnect(), Digikam::UMSCamera::doConnect(), and mkDirSupport().
|
protected |
Referenced by Digikam::GPCamera::doConnect(), and model().
|
protected |
Referenced by DKCamera(), and mimeType().
|
protected |
Referenced by Digikam::UMSCamera::doConnect(), and path().
|
protected |
Referenced by Digikam::GPCamera::doConnect(), and port().
|
protected |
Referenced by DKCamera(), and mimeType().
|
protected |
Referenced by Digikam::GPCamera::doConnect(), Digikam::UMSCamera::doConnect(), and thumbnailSupport().
|
protected |
Referenced by title().
|
protected |
Referenced by Digikam::GPCamera::doConnect(), Digikam::UMSCamera::doConnect(), and uploadSupport().
|
protected |
Referenced by uuid().