digiKam
|
Public Member Functions | |
void | dbFinished () const |
void | dbProcessed (int numberOfInfos) const |
void | dbProcessedOne () const |
db worker progress info More... | |
void | finishedWriting () const |
bool | hasNext () const |
ItemInfoTaskSplitter (const FileActionItemInfoList &list) | |
FileActionItemInfoList | next () |
FileActionProgressItemContainer * | progress () const |
void | schedulingForDB (const QString &action, FileActionProgressItemCreator *const creator) |
void | schedulingForDB (int numberOfInfos, const QString &action, FileActionProgressItemCreator *const creator) |
before sending to db worker More... | |
void | schedulingForWrite (const QString &action, FileActionProgressItemCreator *const creator) const |
void | schedulingForWrite (int numberOfInfos, const QString &action, FileActionProgressItemCreator *const creator) const |
db worker calls this before sending to file worker More... | |
void | written (int numberOfInfos) const |
void | writtenToOne () const |
file worker calls this when finished More... | |
~ItemInfoTaskSplitter () | |
Static Public Member Functions | |
static FileActionItemInfoList | continueTask (const QList< ItemInfo > &list, FileActionProgressItemContainer *const container) |
static FileActionItemInfoList | create (const QList< ItemInfo > &list) |
Public Attributes | |
QExplicitlySharedDataPointer< FileActionProgressItemContainer > | container |
Protected Attributes | |
int | m_n |
|
explicit |
References m_n, and Digikam::ParallelWorkers::optimalWorkerCount().
Digikam::ItemInfoTaskSplitter::~ItemInfoTaskSplitter | ( | ) |
|
staticinherited |
References Digikam::FileActionItemInfoList::container, and Digikam::FileActionItemInfoList::FileActionItemInfoList().
Referenced by Digikam::FileActionMngrDatabaseWorker::assignColorLabel(), Digikam::FileActionMngrDatabaseWorker::assignPickLabel(), Digikam::FileActionMngrDatabaseWorker::assignRating(), and next().
|
staticinherited |
References Digikam::FileActionItemInfoList::container, and Digikam::FileActionItemInfoList::FileActionItemInfoList().
Referenced by Digikam::FileActionMngr::addToGroup(), Digikam::FileActionMngr::applyMetadata(), Digikam::FileActionMngr::assignColorLabel(), Digikam::FileActionMngr::assignPickLabel(), Digikam::FileActionMngr::assignRating(), Digikam::FileActionMngr::assignTags(), Digikam::FileActionMngr::copyAttributes(), Digikam::FileActionMngr::removeFromGroup(), Digikam::FileActionMngr::removeTags(), Digikam::FileActionMngr::setExifOrientation(), Digikam::FileActionMngr::transform(), and Digikam::FileActionMngr::ungroup().
|
inlineinherited |
References Digikam::FileActionProgressItemContainer::dbFinished(), and Digikam::FileActionItemInfoList::progress().
Referenced by Digikam::FileActionMngrDatabaseWorker::applyMetadata(), Digikam::FileActionMngrDatabaseWorker::assignColorLabel(), Digikam::FileActionMngrDatabaseWorker::assignPickLabel(), Digikam::FileActionMngrDatabaseWorker::assignRating(), Digikam::FileActionMngrDatabaseWorker::copyAttributes(), Digikam::FileActionMngrDatabaseWorker::editGroup(), and Digikam::FileActionMngrDatabaseWorker::setExifOrientation().
|
inlineinherited |
|
inlineinherited |
db worker progress info
References Digikam::FileActionItemInfoList::dbProcessed().
Referenced by Digikam::FileActionMngrDatabaseWorker::applyMetadata(), Digikam::FileActionMngrDatabaseWorker::assignColorLabel(), Digikam::FileActionMngrDatabaseWorker::assignPickLabel(), Digikam::FileActionMngrDatabaseWorker::assignRating(), Digikam::FileActionMngrDatabaseWorker::copyAttributes(), and Digikam::FileActionMngrDatabaseWorker::editGroup().
|
inlineinherited |
References Digikam::FileActionProgressItemContainer::finishedWriting(), and Digikam::FileActionItemInfoList::progress().
Referenced by Digikam::FileActionMngrFileWorker::transform(), Digikam::FileActionMngrFileWorker::writeMetadata(), Digikam::FileActionMngrFileWorker::writeMetadataToFiles(), and Digikam::FileActionMngrFileWorker::writeOrientationToFiles().
bool Digikam::ItemInfoTaskSplitter::hasNext | ( | ) | const |
Referenced by Digikam::FileActionMngrDatabaseWorker::applyMetadata(), Digikam::FileActionMngrDatabaseWorker::assignColorLabel(), Digikam::FileActionMngrDatabaseWorker::assignPickLabel(), Digikam::FileActionMngrDatabaseWorker::assignRating(), Digikam::FileActionMngrDatabaseWorker::setExifOrientation(), and Digikam::FileActionMngr::transform().
FileActionItemInfoList Digikam::ItemInfoTaskSplitter::next | ( | ) |
|
inlineinherited |
References Digikam::FileActionItemInfoList::container.
Referenced by Digikam::FileActionMngrDatabaseWorker::assignColorLabel(), Digikam::FileActionMngrDatabaseWorker::assignPickLabel(), Digikam::FileActionMngrDatabaseWorker::assignRating(), Digikam::FileActionItemInfoList::dbFinished(), Digikam::FileActionItemInfoList::dbProcessed(), Digikam::FileActionItemInfoList::finishedWriting(), next(), Digikam::FileActionItemInfoList::schedulingForDB(), Digikam::FileActionItemInfoList::schedulingForWrite(), and Digikam::FileActionItemInfoList::written().
|
inlineinherited |
|
inlineinherited |
before sending to db worker
References Digikam::FileActionItemInfoList::progress(), and Digikam::FileActionProgressItemContainer::schedulingForDB().
Referenced by Digikam::FileActionMngr::addToGroup(), Digikam::FileActionMngr::applyMetadata(), Digikam::FileActionMngr::assignColorLabel(), Digikam::FileActionMngr::assignPickLabel(), Digikam::FileActionMngr::assignRating(), Digikam::FileActionMngr::assignTags(), Digikam::FileActionMngr::copyAttributes(), Digikam::FileActionMngr::removeFromGroup(), Digikam::FileActionMngr::removeTags(), Digikam::FileActionItemInfoList::schedulingForDB(), Digikam::FileActionMngr::setExifOrientation(), and Digikam::FileActionMngr::ungroup().
|
inlineinherited |
|
inlineinherited |
db worker calls this before sending to file worker
References Digikam::FileActionItemInfoList::progress(), and Digikam::FileActionProgressItemContainer::schedulingForWrite().
Referenced by Digikam::FileActionMngrDatabaseWorker::applyMetadata(), Digikam::FileActionMngrDatabaseWorker::assignColorLabel(), Digikam::FileActionMngrDatabaseWorker::assignPickLabel(), Digikam::FileActionMngrDatabaseWorker::assignRating(), Digikam::FileActionItemInfoList::schedulingForWrite(), Digikam::FileActionMngrDatabaseWorker::setExifOrientation(), and Digikam::FileActionMngr::transform().
|
inlineinherited |
|
inlineinherited |
file worker calls this when finished
References Digikam::FileActionItemInfoList::written().
Referenced by Digikam::FileActionMngrFileWorker::transform(), Digikam::FileActionMngrFileWorker::writeMetadata(), Digikam::FileActionMngrFileWorker::writeMetadataToFiles(), and Digikam::FileActionMngrFileWorker::writeOrientationToFiles().
|
inherited |
|
protected |
Referenced by ItemInfoTaskSplitter(), and next().