26 #ifndef DIGIKAM_GP_CAMERA_H
27 #define DIGIKAM_GP_CAMERA_H
51 const QString&
port,
const QString&
path);
61 bool getFolders(
const QString& folder)
override;
62 bool getItemsList(
const QString& folder, QStringList& itemsList);
64 void getItemInfo(
const QString& folder,
const QString& itemName,
CamItemInfo& info,
bool useMetadata)
override;
66 bool getThumbnail(
const QString& folder,
const QString& itemName, QImage& thumbnail)
override;
69 bool setLockItem(
const QString& folder,
const QString& itemName,
bool lock)
override;
71 bool downloadItem(
const QString& folder,
const QString& itemName,
const QString& saveFile)
override;
72 bool deleteItem(
const QString& folder,
const QString& itemName)
override;
77 bool uploadItem(
const QString& folder,
const QString& itemName,
const QString& localFile,
CamItemInfo& itemInfo)
override;
83 bool getFreeSpace(
unsigned long& kBSize,
unsigned long& kBAvail)
override;
100 void getItemInfoInternal(
const QString& folder,
const QString& itemName,
CamItemInfo& info,
bool useMetadata);
102 static void printGphotoErrorDescription(
int errorCode);
107 explicit GPCamera(QObject*) =
delete;
Definition: camiteminfo.h:48
Definition: dkcamera.h:45
CameraDriverType
Definition: dkcamera.h:51
QString path() const
Definition: dkcamera.cpp:80
QString title() const
Definition: dkcamera.cpp:65
QString port() const
Definition: dkcamera.cpp:75
QString model() const
Definition: dkcamera.cpp:70
Definition: gpcamera.h:45
bool getThumbnail(const QString &folder, const QString &itemName, QImage &thumbnail) override
Definition: gpcamera.cpp:1037
bool uploadItem(const QString &folder, const QString &itemName, const QString &localFile, CamItemInfo &itemInfo) override
Definition: gpcamera.cpp:1360
bool cameraManual(QString &manual) override
Definition: gpcamera.cpp:1579
bool setLockItem(const QString &folder, const QString &itemName, bool lock) override
Definition: gpcamera.cpp:1238
bool getItemsList(const QString &folder, QStringList &itemsList)
Definition: gpcamera.cpp:784
void cancel() override
Definition: gpcamera.cpp:404
static void getSupportedCameras(int &count, QStringList &clist)
Definition: gpcamera.cpp:1664
bool cameraSummary(QString &summary) override
Definition: gpcamera.cpp:1523
static void getSupportedPorts(QStringList &plist)
Definition: gpcamera.cpp:1714
DKCamera::CameraDriverType cameraDriverType() override
Definition: gpcamera.cpp:238
QByteArray cameraMD5ID() override
Definition: gpcamera.cpp:243
bool getFolders(const QString &folder) override
Definition: gpcamera.cpp:724
bool capture(CamItemInfo &itemInfo) override
Definition: gpcamera.cpp:610
static bool findConnectedUsbCamera(int vendorId, int productId, QString &model, QString &port)
Definition: gpcamera.cpp:1892
bool cameraAbout(QString &about) override
Definition: gpcamera.cpp:1612
bool deleteItem(const QString &folder, const QString &itemName) override
Definition: gpcamera.cpp:1299
bool getFreeSpace(unsigned long &kBSize, unsigned long &kBAvail) override
Definition: gpcamera.cpp:424
void getItemInfo(const QString &folder, const QString &itemName, CamItemInfo &info, bool useMetadata) override
Definition: gpcamera.cpp:896
bool downloadItem(const QString &folder, const QString &itemName, const QString &saveFile) override
Definition: gpcamera.cpp:1164
bool getMetadata(const QString &folder, const QString &itemName, DMetadata &meta) override
Definition: gpcamera.cpp:1089
bool getPreview(QImage &preview) override
Definition: gpcamera.cpp:563
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 imm...
Definition: gpcamera.cpp:838
~GPCamera() override
Definition: gpcamera.cpp:216
bool doConnect() override
Definition: gpcamera.cpp:269
bool deleteAllItems(const QString &folder)
recursively delete all items
Definition: gpcamera.cpp:1330
GPCamera(const QString &title, const QString &model, const QString &port, const QString &path)
Definition: gpcamera.cpp:209
static int autoDetect(QString &model, QString &port)
Definition: gpcamera.cpp:1816
static void getCameraSupportedPorts(const QString &model, QStringList &plist)
Definition: gpcamera.cpp:1770
Definition: datefolderview.cpp:43