◆ deleteDirRecursivley()
bool Digikam::DTrash::deleteDirRecursivley |
( |
const QString & |
dirToDelete, |
|
|
const QDateTime & |
deleteTime |
|
) |
| |
|
static |
◆ deleteImage()
bool Digikam::DTrash::deleteImage |
( |
const QString & |
imagePath, |
|
|
const QDateTime & |
deleteTime |
|
) |
| |
|
static |
◆ extractJsonForItem()
void Digikam::DTrash::extractJsonForItem |
( |
const QString & |
collPath, |
|
|
const QString & |
baseName, |
|
|
DTrashItemInfo & |
itemInfo |
|
) |
| |
|
static |
Extracts the data from json file and gives it to DTrashItemInfo.
- Parameters
-
collPath | path to collection |
baseName | name of the file inside the trash |
itemInfo | item to extract data to it |
References Digikam::DTrashItemInfo::collectionPath, Digikam::DTrashItemInfo::collectionRelativePath, Digikam::DTrashItemInfo::deletionTimestamp, DELETIONTIMESTAMP_JSON_KEY, Digikam::DTrashItemInfo::imageId, IMAGEID_JSON_KEY, INFO_FILE_EXTENSION, INFO_FOLDER, Digikam::DTrashItemInfo::jsonFilePath, PATH_JSON_KEY, and TRASH_FOLDER.
Referenced by Digikam::DTrashItemsListingJob::run().
◆ DELETIONTIMESTAMP_JSON_KEY
const QString Digikam::DTrash::DELETIONTIMESTAMP_JSON_KEY = QLatin1String("deletiontimestamp") |
|
static |
◆ FILES_FOLDER
const QString Digikam::DTrash::FILES_FOLDER = QLatin1String("files") |
|
static |
◆ IMAGEID_JSON_KEY
const QString Digikam::DTrash::IMAGEID_JSON_KEY = QLatin1String("imageid") |
|
static |
◆ INFO_FILE_EXTENSION
const QString Digikam::DTrash::INFO_FILE_EXTENSION = QLatin1String(".dtrashinfo") |
|
static |
◆ INFO_FOLDER
const QString Digikam::DTrash::INFO_FOLDER = QLatin1String("info") |
|
static |
◆ PATH_JSON_KEY
const QString Digikam::DTrash::PATH_JSON_KEY = QLatin1String("path") |
|
static |
◆ TRASH_FOLDER
const QString Digikam::DTrash::TRASH_FOLDER = QLatin1String(".dtrash") |
|
static |
The documentation for this class was generated from the following files: