26 #ifndef DIGIKAM_CAMERA_CONTROLLER_H
27 #define DIGIKAM_CAMERA_CONTROLLER_H
63 bool cameraThumbnailSupport()
const;
64 bool cameraDeleteSupport()
const;
65 bool cameraUploadSupport()
const;
66 bool cameraMkDirSupport()
const;
67 bool cameraDelDirSupport()
const;
68 bool cameraCaptureImageSupport()
const;
69 bool cameraCaptureImagePreviewSupport()
const;
71 QString cameraPath()
const;
72 QString cameraTitle()
const;
76 QByteArray cameraMD5ID()
const;
79 void listRootFolder(
bool useMetadata);
80 void listFolders(
const QString& folder = QString());
81 void listFiles(
const QString& folder,
bool useMetadata);
83 void getMetadata(
const QString& folder,
const QString& file);
84 void getCameraInformation();
90 CameraCommand* getThumbsInfo(
const CamItemInfoList& infoList,
int thumbSize);
91 void moveThumbsInfo(CameraCommand*
const cmd);
96 void upload(
const QFileInfo& srcFileInfo,
97 const QString& destFile,
98 const QString& destFolder);
99 void deleteFile(
const QString& folder,
const QString& file);
100 void lockFile(
const QString& folder,
const QString& file,
bool lock);
101 void openFile(
const QString& folder,
const QString& file);
103 QIcon mimeTypeThumbnail(
const QString& itemName)
const;
110 const QString& folder,
111 const QString& file);
113 const QString& manual,
114 const QString& about);
116 unsigned long kBAvail);
127 const QString& sourceFile,
128 const QString& destFolder,
129 const QString& destFile);
131 const QString& file);
141 const QImage& thumb);
151 const QString& destination,
155 const QString& file);
160 const QString& file);
162 const QString& file);
172 void executeCommand(CameraCommand*
const cmd);
176 void slotCheckRename(
const QString& folder,
178 const QString& destination,
181 void slotDownloadFailed(
const QString& folder,
182 const QString& file);
183 void slotUploadFailed(
const QString& folder,
186 void slotDeleteFailed(
const QString& folder,
187 const QString& file);
188 void slotLockFailed(
const QString& folder,
189 const QString& file);
193 void sendLogMsg(
const QString& msg,
195 const QString& folder = QString(),
196 const QString& file = QString());
198 void addCommand(CameraCommand*
const cmd);
199 bool queueIsEmpty()
const;
Definition: camiteminfo.h:48
Definition: cameracontroller.h:51
void signalUploaded(const CamItemInfo &itemInfo)
void signalInternalCheckRename(const QString &folder, const QString &file, const QString &destination, const QString &temp, const QString &script)
void signalFileList(const CamItemInfoList &infoList)
void signalCameraInformation(const QString &summary, const QString &manual, const QString &about)
void signalInternalUploadFailed(const QString &folder, const QString &file, const QString &src)
void signalFolderList(const QStringList &folderList)
void signalThumbInfo(const QString &folder, const QString &file, const CamItemInfo &itemInfo, const QImage &thumb)
void signalThumbInfoFailed(const QString &folder, const QString &file, const CamItemInfo &itemInfo)
void signalInternalDeleteFailed(const QString &folder, const QString &file)
void signalDownloadComplete(const QString &sourceFolder, const QString &sourceFile, const QString &destFolder, const QString &destFile)
void signalBusy(bool val)
void signalMetadata(const QString &folder, const QString &file, const MetaEngineData &exifData)
void signalLogMsg(const QString &msg, DHistoryView::EntryType type, const QString &folder, const QString &file)
void signalInternalDownloadFailed(const QString &folder, const QString &file)
void signalSkipped(const QString &folder, const QString &file)
void signalPreview(const QImage &preview)
void signalFreeSpace(unsigned long kBSize, unsigned long kBAvail)
void signalLocked(const QString &folder, const QString &file, bool status)
void signalDeleted(const QString &folder, const QString &file, bool status)
void signalConnected(bool val)
void signalInternalLockFailed(const QString &folder, const QString &file)
void signalDownloaded(const QString &folder, const QString &file, int status)
EntryType
Definition: dhistoryview.h:48
@ StartingEntry
Definition: dhistoryview.h:49
CameraDriverType
Definition: dkcamera.h:51
Definition: downloadsettings.h:41
ConflictRule
Definition: setupcamera.h:47
Definition: datefolderview.cpp:43