digiKam
|
Public Slots | |
void | slotCancel () |
void | slotConnect () |
Signals | |
void | signalBusy (bool val) |
void | signalCameraInformation (const QString &summary, const QString &manual, const QString &about) |
void | signalConnected (bool val) |
void | signalDeleted (const QString &folder, const QString &file, bool status) |
void | signalDownloadComplete (const QString &sourceFolder, const QString &sourceFile, const QString &destFolder, const QString &destFile) |
void | signalDownloaded (const QString &folder, const QString &file, int status) |
void | signalFileList (const CamItemInfoList &infoList) |
void | signalFolderList (const QStringList &folderList) |
void | signalFreeSpace (unsigned long kBSize, unsigned long kBAvail) |
void | signalInternalCheckRename (const QString &folder, const QString &file, const QString &destination, const QString &temp, const QString &script) |
void | signalInternalDeleteFailed (const QString &folder, const QString &file) |
void | signalInternalDownloadFailed (const QString &folder, const QString &file) |
void | signalInternalLockFailed (const QString &folder, const QString &file) |
void | signalInternalUploadFailed (const QString &folder, const QString &file, const QString &src) |
void | signalLocked (const QString &folder, const QString &file, bool status) |
void | signalLogMsg (const QString &msg, DHistoryView::EntryType type, const QString &folder, const QString &file) |
void | signalMetadata (const QString &folder, const QString &file, const MetaEngineData &exifData) |
void | signalPreview (const QImage &preview) |
void | signalSkipped (const QString &folder, const QString &file) |
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 | signalUploaded (const CamItemInfo &itemInfo) |
Public Member Functions | |
bool | cameraCaptureImagePreviewSupport () const |
bool | cameraCaptureImageSupport () const |
CameraController (QWidget *const parent, const QString &title, const QString &model, const QString &port, const QString &path) | |
bool | cameraDelDirSupport () const |
bool | cameraDeleteSupport () const |
DKCamera::CameraDriverType | cameraDriverType () const |
QByteArray | cameraMD5ID () const |
bool | cameraMkDirSupport () const |
QString | cameraPath () const |
bool | cameraThumbnailSupport () const |
QString | cameraTitle () const |
bool | cameraUploadSupport () const |
void | capture () |
void | deleteFile (const QString &folder, const QString &file) |
void | download (const DownloadSettings &downloadSettings) |
void | download (const DownloadSettingsList &list) |
void | downloadPrep (const SetupCamera::ConflictRule &rule) |
void | getCameraInformation () |
void | getFreeSpace () |
void | getMetadata (const QString &folder, const QString &file) |
void | getPreview () |
CameraCommand * | getThumbsInfo (const CamItemInfoList &infoList, int thumbSize) |
void | listFiles (const QString &folder, bool useMetadata) |
void | listFolders (const QString &folder=QString()) |
void | listRootFolder (bool useMetadata) |
void | lockFile (const QString &folder, const QString &file, bool lock) |
QIcon | mimeTypeThumbnail (const QString &itemName) const |
void | moveThumbsInfo (CameraCommand *const cmd) |
void | openFile (const QString &folder, const QString &file) |
void | upload (const QFileInfo &srcFileInfo, const QString &destFile, const QString &destFolder) |
~CameraController () override | |
Protected Member Functions | |
void | executeCommand (CameraCommand *const cmd) |
void | run () override |
|
explicit |
|
override |
References slotCancel().
bool Digikam::CameraController::cameraCaptureImagePreviewSupport | ( | ) | const |
bool Digikam::CameraController::cameraCaptureImageSupport | ( | ) | const |
bool Digikam::CameraController::cameraDelDirSupport | ( | ) | const |
Referenced by Digikam::ImportUI::cameraDelDirSupport().
bool Digikam::CameraController::cameraDeleteSupport | ( | ) | const |
Referenced by Digikam::ImportUI::cameraDeleteSupport().
DKCamera::CameraDriverType Digikam::CameraController::cameraDriverType | ( | ) | const |
References Digikam::DKCamera::UMSDriver.
Referenced by Digikam::ImportUI::cameraUseGPhotoDriver(), and Digikam::ImportUI::cameraUseUMSDriver().
QByteArray Digikam::CameraController::cameraMD5ID | ( | ) | const |
bool Digikam::CameraController::cameraMkDirSupport | ( | ) | const |
Referenced by Digikam::ImportUI::cameraMkDirSupport().
QString Digikam::CameraController::cameraPath | ( | ) | const |
Referenced by Digikam::ImportUI::slotUploadItems().
bool Digikam::CameraController::cameraThumbnailSupport | ( | ) | const |
QString Digikam::CameraController::cameraTitle | ( | ) | const |
Referenced by Digikam::ImportUI::slotUploadItems().
bool Digikam::CameraController::cameraUploadSupport | ( | ) | const |
Referenced by Digikam::ImportUI::cameraUploadSupport().
void Digikam::CameraController::capture | ( | ) |
void Digikam::CameraController::deleteFile | ( | const QString & | folder, |
const QString & | file | ||
) |
void Digikam::CameraController::download | ( | const DownloadSettings & | downloadSettings | ) |
References Digikam::DownloadSettings::backupRaw, Digikam::DownloadSettings::colorLabel, Digikam::DownloadSettings::compressDng, Digikam::DownloadSettings::convertDng, Digikam::DownloadSettings::convertJpeg, Digikam::DownloadSettings::dest, Digikam::DownloadSettings::documentName, Digikam::DownloadSettings::file, Digikam::DownloadSettings::fixDateTime, Digikam::DownloadSettings::folder, Digikam::DownloadSettings::losslessFormat, Digikam::DownloadSettings::mime, Digikam::DownloadSettings::newDateTime, Digikam::DownloadSettings::pickLabel, Digikam::DownloadSettings::previewMode, Digikam::DownloadSettings::rating, Digikam::DownloadSettings::script, and Digikam::DownloadSettings::templateTitle.
Referenced by download().
void Digikam::CameraController::download | ( | const DownloadSettingsList & | list | ) |
References download().
void Digikam::CameraController::downloadPrep | ( | const SetupCamera::ConflictRule & | rule | ) |
|
protected |
References Digikam::DNGWriter::convert(), Digikam::TemplateManager::defaultManager(), Digikam::CamItemInfo::DownloadFailed, Digikam::CamItemInfo::DownloadStarted, Digikam::DHistoryView::ErrorEntry, Digikam::TemplateManager::findByTitle(), Digikam::CamItemInfo::folder, Digikam::JPEGUtils::jpegConvert(), Digikam::CamItemInfo::mime, Digikam::CamItemInfo::name, Digikam::NoColorLabel, Digikam::NoPickLabel, Digikam::DNGWriter::PROCESS_COMPLETE, Digikam::Template::removeTemplateTitle(), script, Digikam::DNGWriter::setBackupOriginalRawFile(), Digikam::DNGWriter::setCompressLossLess(), Digikam::DNGWriter::setInputFile(), Digikam::DNGWriter::setOutputFile(), Digikam::DNGWriter::setPreviewMode(), signalCameraInformation(), signalConnected(), signalDeleted(), signalDownloaded(), signalFileList(), signalFreeSpace(), signalInternalCheckRename(), signalInternalDeleteFailed(), signalInternalLockFailed(), signalInternalUploadFailed(), signalLocked(), signalMetadata(), signalPreview(), signalThumbInfo(), signalThumbInfoFailed(), signalUploaded(), suffix, and Digikam::DHistoryView::WarningEntry.
Referenced by run().
void Digikam::CameraController::getCameraInformation | ( | ) |
void Digikam::CameraController::getFreeSpace | ( | ) |
void Digikam::CameraController::getMetadata | ( | const QString & | folder, |
const QString & | file | ||
) |
void Digikam::CameraController::getPreview | ( | ) |
CameraCommand * Digikam::CameraController::getThumbsInfo | ( | const CamItemInfoList & | infoList, |
int | thumbSize | ||
) |
Get thumbnails for a list of camera items plus advanced information from metadata.
References Digikam::CamItemInfo::folder, and Digikam::CamItemInfo::name.
void Digikam::CameraController::listFiles | ( | const QString & | folder, |
bool | useMetadata | ||
) |
Referenced by listRootFolder().
void Digikam::CameraController::listFolders | ( | const QString & | folder = QString() | ) |
Referenced by listRootFolder().
void Digikam::CameraController::listRootFolder | ( | bool | useMetadata | ) |
References listFiles(), and listFolders().
void Digikam::CameraController::lockFile | ( | const QString & | folder, |
const QString & | file, | ||
bool | lock | ||
) |
QIcon Digikam::CameraController::mimeTypeThumbnail | ( | const QString & | itemName | ) | const |
void Digikam::CameraController::moveThumbsInfo | ( | CameraCommand *const | cmd | ) |
void Digikam::CameraController::openFile | ( | const QString & | folder, |
const QString & | file | ||
) |
|
overrideprotected |
References executeCommand(), and signalBusy().
|
signal |
Referenced by run().
|
signal |
Referenced by executeCommand().
|
signal |
Referenced by executeCommand().
|
signal |
Referenced by executeCommand().
|
signal |
|
signal |
Referenced by executeCommand().
|
signal |
Referenced by executeCommand().
|
signal |
Referenced by CameraController().
|
signal |
Referenced by executeCommand().
|
signal |
Referenced by CameraController(), and executeCommand().
|
signal |
Referenced by CameraController(), and executeCommand().
|
signal |
Referenced by CameraController().
|
signal |
Referenced by CameraController(), and executeCommand().
|
signal |
Referenced by CameraController(), and executeCommand().
|
signal |
Referenced by executeCommand().
|
signal |
|
signal |
Referenced by executeCommand().
|
signal |
Referenced by executeCommand().
|
signal |
|
signal |
Referenced by executeCommand().
|
signal |
Referenced by executeCommand().
|
signal |
Referenced by executeCommand().
|
slot |
Referenced by ~CameraController().
|
slot |
void Digikam::CameraController::upload | ( | const QFileInfo & | srcFileInfo, |
const QString & | destFile, | ||
const QString & | destFolder | ||
) |
Referenced by Digikam::ImportUI::slotUploadItems().