25 #ifndef DIGIKAM_DKCAMERA_H
26 #define DIGIKAM_DKCAMERA_H
32 #include <QStringList>
72 virtual bool getThumbnail(
const QString& folder,
const QString& itemName, QImage& thumbnail) = 0;
74 virtual bool getFreeSpace(
unsigned long& kBSize,
unsigned long& kBAvail) = 0;
79 virtual bool downloadItem(
const QString& folder,
const QString& itemName,
const QString& saveFile) = 0;
80 virtual bool deleteItem(
const QString& folder,
const QString& itemName) = 0;
81 virtual bool uploadItem(
const QString& folder,
const QString& itemName,
82 const QString& localFile,
CamItemInfo& itemInfo) = 0;
87 virtual bool setLockItem(
const QString& folder,
const QString& itemName,
bool lock) = 0;
94 QString
title()
const;
95 QString
model()
const;
108 QString
mimeType(
const QString& fileext)
const;
Definition: camiteminfo.h:48
Definition: dkcamera.h:45
virtual bool setLockItem(const QString &folder, const QString &itemName, bool lock)=0
bool thumbnailSupport() const
Definition: dkcamera.cpp:90
QString mimeType(const QString &fileext) const
Definition: dkcamera.cpp:125
bool captureImagePreviewSupport() const
Definition: dkcamera.cpp:120
QString m_audioFilter
Definition: dkcamera.h:128
CameraDriverType
Definition: dkcamera.h:51
@ GPhotoDriver
Definition: dkcamera.h:52
@ UMSDriver
Definition: dkcamera.h:53
virtual bool cameraSummary(QString &summary)=0
QString m_movieFilter
Definition: dkcamera.h:127
QString m_path
Definition: dkcamera.h:133
QString path() const
Definition: dkcamera.cpp:80
virtual bool uploadItem(const QString &folder, const QString &itemName, const QString &localFile, CamItemInfo &itemInfo)=0
virtual void getItemInfo(const QString &folder, const QString &itemName, CamItemInfo &info, bool useMetadata)=0
virtual bool getFolders(const QString &folder)=0
~DKCamera() override
Definition: dkcamera.cpp:61
bool mkDirSupport() const
Definition: dkcamera.cpp:105
virtual bool getMetadata(const QString &folder, const QString &itemName, DMetadata &meta)=0
bool uploadSupport() const
Definition: dkcamera.cpp:100
QString m_imageFilter
Definition: dkcamera.h:126
virtual DKCamera::CameraDriverType cameraDriverType()=0
virtual bool doConnect()=0
virtual QByteArray cameraMD5ID()=0
bool delDirSupport() const
Definition: dkcamera.cpp:110
virtual bool deleteItem(const QString &folder, const QString &itemName)=0
QString uuid() const
Definition: dkcamera.cpp:85
bool captureImageSupport() const
Definition: dkcamera.cpp:115
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 imm...
virtual bool cameraAbout(QString &about)=0
bool m_captureImageSupport
Definition: dkcamera.h:123
void printSupportedFeatures()
Definition: dkcamera.cpp:183
QString m_uuid
Definition: dkcamera.h:135
bool deleteSupport() const
Definition: dkcamera.cpp:95
bool m_mkDirSupport
Definition: dkcamera.h:121
void fillItemInfoFromMetadata(CamItemInfo &item, const DMetadata &meta) const
Definition: dkcamera.cpp:166
void signalFolderList(const QStringList &)
DKCamera(const QString &title, const QString &model, const QString &port, const QString &path)
Definition: dkcamera.cpp:36
virtual bool getThumbnail(const QString &folder, const QString &itemName, QImage &thumbnail)=0
bool m_delDirSupport
Definition: dkcamera.h:122
QString title() const
Definition: dkcamera.cpp:65
virtual bool getFreeSpace(unsigned long &kBSize, unsigned long &kBAvail)=0
bool m_captureImagePreviewSupport
Definition: dkcamera.h:124
QString port() const
Definition: dkcamera.cpp:75
bool m_uploadSupport
Definition: dkcamera.h:120
bool m_thumbnailSupport
Definition: dkcamera.h:118
bool m_deleteSupport
Definition: dkcamera.h:119
virtual bool capture(CamItemInfo &itemInfo)=0
QString m_rawFilter
Definition: dkcamera.h:129
QString m_title
Definition: dkcamera.h:134
virtual bool cameraManual(QString &manual)=0
QString model() const
Definition: dkcamera.cpp:70
QString m_port
Definition: dkcamera.h:132
virtual bool getPreview(QImage &preview)=0
virtual bool downloadItem(const QString &folder, const QString &itemName, const QString &saveFile)=0
QString m_model
Definition: dkcamera.h:131
Definition: datefolderview.cpp:43