digiKam
|
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 |
bool | captureImagePreviewSupport () const |
bool | captureImageSupport () const |
bool | delDirSupport () const |
bool | deleteAllItems (const QString &folder) |
recursively delete all items More... | |
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 |
void | getItemInfo (const QString &folder, const QString &itemName, CamItemInfo &info, bool useMetadata) override |
bool | getItemsInfoList (const QString &folder, bool useMetadata, CamItemInfoList &items) override |
If getImageDimensions is false, the camera shall set width and height to -1 if the values are not immediately available. More... | |
bool | getItemsList (const QString &folder, QStringList &itemsList) |
bool | getMetadata (const QString &folder, const QString &itemName, DMetadata &meta) override |
bool | getPreview (QImage &preview) override |
bool | getThumbnail (const QString &folder, const QString &itemName, QImage &thumbnail) override |
GPCamera (const QString &title, const QString &model, const QString &port, const QString &path) | |
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 |
bool | uploadItem (const QString &folder, const QString &itemName, const QString &localFile, CamItemInfo &itemInfo) override |
bool | uploadSupport () const |
QString | uuid () const |
~GPCamera () override | |
Static Public Member Functions | |
static int | autoDetect (QString &model, QString &port) |
static bool | findConnectedUsbCamera (int vendorId, int productId, QString &model, QString &port) |
static void | getCameraSupportedPorts (const QString &model, QStringList &plist) |
static void | getSupportedCameras (int &count, QStringList &clist) |
static void | getSupportedPorts (QStringList &plist) |
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 |
Gphoto2 camera Implementation of abstract type DKCamera
|
inherited |
|
explicit |
|
override |
|
static |
References Digikam::DKCamera::model(), and Digikam::DKCamera::port().
Referenced by Digikam::CameraList::autoDetect().
|
overridevirtual |
Implements Digikam::DKCamera.
|
overridevirtual |
Implements Digikam::DKCamera.
References Digikam::DKCamera::GPhotoDriver.
|
overridevirtual |
Implements Digikam::DKCamera.
|
overridevirtual |
Implements Digikam::DKCamera.
References Digikam::DKCamera::model(), and Digikam::DKCamera::path().
|
overridevirtual |
Implements Digikam::DKCamera.
References Digikam::DKCamera::captureImageSupport(), Digikam::DKCamera::delDirSupport(), Digikam::DKCamera::deleteSupport(), Digikam::DKCamera::mkDirSupport(), Digikam::DKCamera::model(), Digikam::DKCamera::path(), Digikam::DKCamera::port(), Digikam::DKCamera::thumbnailSupport(), Digikam::DKCamera::title(), and Digikam::DKCamera::uploadSupport().
|
overridevirtual |
Implements Digikam::DKCamera.
|
overridevirtual |
Implements Digikam::DKCamera.
References Digikam::CamItemInfo::ctime, Digikam::CamItemInfo::downloaded, Digikam::CamItemInfo::DownloadedNo, Digikam::CamItemInfo::DownloadedYes, Digikam::CamItemInfo::DownloadUnknown, Digikam::CamItemInfo::folder, Digikam::CamItemInfo::height, Digikam::CamItemInfo::mime, Digikam::DKCamera::mimeType(), Digikam::CamItemInfo::name, Digikam::DKCamera::path(), Digikam::CamItemInfo::readPermissions, Digikam::CamItemInfo::size, Digikam::CamItemInfo::width, and Digikam::CamItemInfo::writePermissions.
|
inherited |
References Digikam::DKCamera::m_captureImagePreviewSupport.
Referenced by Digikam::DKCamera::printSupportedFeatures().
|
inherited |
References Digikam::DKCamera::m_captureImageSupport.
Referenced by cameraSummary(), Digikam::UMSCamera::cameraSummary(), and Digikam::DKCamera::printSupportedFeatures().
|
inherited |
References Digikam::DKCamera::m_delDirSupport.
Referenced by cameraSummary(), Digikam::UMSCamera::cameraSummary(), and Digikam::DKCamera::printSupportedFeatures().
bool Digikam::GPCamera::deleteAllItems | ( | const QString & | folder | ) |
recursively delete all items
|
overridevirtual |
Implements Digikam::DKCamera.
|
inherited |
References Digikam::DKCamera::m_deleteSupport.
Referenced by cameraSummary(), Digikam::UMSCamera::cameraSummary(), and Digikam::DKCamera::printSupportedFeatures().
|
overridevirtual |
Implements Digikam::DKCamera.
References Digikam::DKCamera::m_captureImagePreviewSupport, Digikam::DKCamera::m_captureImageSupport, Digikam::DKCamera::m_delDirSupport, Digikam::DKCamera::m_deleteSupport, Digikam::DKCamera::m_mkDirSupport, Digikam::DKCamera::m_model, Digikam::DKCamera::m_port, Digikam::DKCamera::m_thumbnailSupport, and Digikam::DKCamera::m_uploadSupport.
|
overridevirtual |
Implements Digikam::DKCamera.
References Digikam::DFileOperations::setModificationTime().
|
protectedinherited |
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().
|
static |
References Digikam::DKCamera::model(), and Digikam::DKCamera::port().
Referenced by Digikam::CameraList::findConnectedCamera().
|
static |
References Digikam::DKCamera::model().
|
overridevirtual |
Implements Digikam::DKCamera.
References Digikam::DKCamera::signalFolderList().
|
overridevirtual |
Implements Digikam::DKCamera.
|
overridevirtual |
Implements Digikam::DKCamera.
|
overridevirtual |
If getImageDimensions is false, the camera shall set width and height to -1 if the values are not immediately available.
Implements Digikam::DKCamera.
bool Digikam::GPCamera::getItemsList | ( | const QString & | folder, |
QStringList & | itemsList | ||
) |
|
overridevirtual |
Implements Digikam::DKCamera.
References Digikam::MetaEngine::setExif().
|
overridevirtual |
Implements Digikam::DKCamera.
|
static |
|
static |
|
overridevirtual |
Implements Digikam::DKCamera.
|
inherited |
|
inherited |
References Digikam::DKCamera::m_mkDirSupport.
Referenced by cameraSummary(), Digikam::UMSCamera::cameraSummary(), and Digikam::DKCamera::printSupportedFeatures().
|
inherited |
References Digikam::DKCamera::m_model.
Referenced by autoDetect(), cameraMD5ID(), cameraSummary(), Digikam::UMSCamera::cameraSummary(), findConnectedUsbCamera(), and getCameraSupportedPorts().
|
inherited |
|
inherited |
References Digikam::DKCamera::m_port.
Referenced by autoDetect(), cameraSummary(), Digikam::UMSCamera::cameraSummary(), and findConnectedUsbCamera().
|
inherited |
References Digikam::DKCamera::captureImagePreviewSupport(), Digikam::DKCamera::captureImageSupport(), Digikam::DKCamera::delDirSupport(), Digikam::DKCamera::deleteSupport(), Digikam::DKCamera::mkDirSupport(), Digikam::DKCamera::thumbnailSupport(), Digikam::DKCamera::title(), and Digikam::DKCamera::uploadSupport().
|
overridevirtual |
Implements Digikam::DKCamera.
|
signalinherited |
Referenced by getFolders(), and Digikam::UMSCamera::getFolders().
|
inherited |
References Digikam::DKCamera::m_thumbnailSupport.
Referenced by cameraSummary(), Digikam::UMSCamera::cameraSummary(), and Digikam::DKCamera::printSupportedFeatures().
|
inherited |
References Digikam::DKCamera::m_title.
Referenced by cameraSummary(), Digikam::UMSCamera::cameraSummary(), and Digikam::DKCamera::printSupportedFeatures().
|
overridevirtual |
Implements Digikam::DKCamera.
References Digikam::CamItemInfo::ctime, Digikam::CamItemInfo::downloaded, Digikam::CamItemInfo::DownloadedNo, Digikam::CamItemInfo::DownloadedYes, Digikam::CamItemInfo::DownloadUnknown, Digikam::CamItemInfo::folder, Digikam::CamItemInfo::height, Digikam::CamItemInfo::mime, Digikam::DKCamera::mimeType(), Digikam::CamItemInfo::name, Digikam::CamItemInfo::readPermissions, Digikam::CamItemInfo::size, Digikam::CamItemInfo::width, and Digikam::CamItemInfo::writePermissions.
|
inherited |
References Digikam::DKCamera::m_uploadSupport.
Referenced by cameraSummary(), Digikam::UMSCamera::cameraSummary(), and Digikam::DKCamera::printSupportedFeatures().
|
inherited |
References Digikam::DKCamera::m_uuid.
Referenced by Digikam::UMSCamera::cameraMD5ID(), and Digikam::UMSCamera::cameraSummary().
|
protectedinherited |
Referenced by Digikam::DKCamera::DKCamera(), and Digikam::DKCamera::mimeType().
|
protectedinherited |
Referenced by Digikam::DKCamera::captureImagePreviewSupport(), and doConnect().
|
protectedinherited |
Referenced by Digikam::DKCamera::captureImageSupport(), doConnect(), and Digikam::UMSCamera::doConnect().
|
protectedinherited |
Referenced by Digikam::DKCamera::delDirSupport(), doConnect(), and Digikam::UMSCamera::doConnect().
|
protectedinherited |
Referenced by Digikam::DKCamera::deleteSupport(), doConnect(), and Digikam::UMSCamera::doConnect().
|
protectedinherited |
Referenced by Digikam::DKCamera::DKCamera(), and Digikam::DKCamera::mimeType().
|
protectedinherited |
Referenced by doConnect(), Digikam::UMSCamera::doConnect(), and Digikam::DKCamera::mkDirSupport().
|
protectedinherited |
Referenced by doConnect(), and Digikam::DKCamera::model().
|
protectedinherited |
Referenced by Digikam::DKCamera::DKCamera(), and Digikam::DKCamera::mimeType().
|
protectedinherited |
Referenced by Digikam::UMSCamera::doConnect(), and Digikam::DKCamera::path().
|
protectedinherited |
Referenced by doConnect(), and Digikam::DKCamera::port().
|
protectedinherited |
Referenced by Digikam::DKCamera::DKCamera(), and Digikam::DKCamera::mimeType().
|
protectedinherited |
Referenced by doConnect(), Digikam::UMSCamera::doConnect(), and Digikam::DKCamera::thumbnailSupport().
|
protectedinherited |
Referenced by Digikam::DKCamera::title().
|
protectedinherited |
Referenced by doConnect(), Digikam::UMSCamera::doConnect(), and Digikam::DKCamera::uploadSupport().
|
protectedinherited |
Referenced by Digikam::DKCamera::uuid().