◆ ThumbsGenerator() [1/2]
Digikam::ThumbsGenerator::ThumbsGenerator |
( |
const bool |
rebuildAll, |
|
|
int |
albumId, |
|
|
ProgressItem *const |
parent = nullptr |
|
) |
| |
|
explicit |
◆ ThumbsGenerator() [2/2]
Digikam::ThumbsGenerator::ThumbsGenerator |
( |
const bool |
rebuildAll, |
|
|
const AlbumList & |
list, |
|
|
ProgressItem *const |
parent = nullptr |
|
) |
| |
Constructor using AlbumList as argument. If list is empty, whole Albums collection is processed.
◆ ~ThumbsGenerator()
Digikam::ThumbsGenerator::~ThumbsGenerator |
( |
| ) |
|
|
override |
◆ addChild()
void Digikam::ProgressItem::addChild |
( |
ProgressItem *const |
kiddo | ) |
|
|
inherited |
◆ advance()
bool Digikam::ProgressItem::advance |
( |
unsigned int |
v | ) |
|
|
inherited |
◆ canBeCanceled()
bool Digikam::ProgressItem::canBeCanceled |
( |
| ) |
const |
|
inherited |
◆ cancel()
void Digikam::ProgressItem::cancel |
( |
| ) |
|
|
inherited |
◆ canceled()
bool Digikam::ProgressItem::canceled |
( |
| ) |
const |
|
inherited |
◆ completedItems()
unsigned int Digikam::ProgressItem::completedItems |
( |
| ) |
const |
|
inherited |
◆ hasThumbnail()
bool Digikam::ProgressItem::hasThumbnail |
( |
| ) |
const |
|
inherited |
◆ id()
const QString & Digikam::ProgressItem::id |
( |
| ) |
const |
|
inherited |
◆ incCompletedItems()
bool Digikam::ProgressItem::incCompletedItems |
( |
unsigned int |
v = 1 | ) |
|
|
inherited |
◆ incTotalItems()
void Digikam::ProgressItem::incTotalItems |
( |
unsigned int |
v = 1 | ) |
|
|
inherited |
◆ label()
const QString & Digikam::ProgressItem::label |
( |
| ) |
const |
|
inherited |
◆ parent()
◆ progress()
unsigned int Digikam::ProgressItem::progress |
( |
| ) |
const |
|
inherited |
◆ progressItemAdded
void Digikam::ProgressItem::progressItemAdded |
( |
ProgressItem * |
| ) |
|
|
signalinherited |
◆ progressItemCanceled
void Digikam::ProgressItem::progressItemCanceled |
( |
ProgressItem * |
| ) |
|
|
signalinherited |
◆ progressItemCanceledById
void Digikam::ProgressItem::progressItemCanceledById |
( |
const QString & |
id | ) |
|
|
signalinherited |
◆ progressItemCompleted
void Digikam::ProgressItem::progressItemCompleted |
( |
ProgressItem * |
| ) |
|
|
signalinherited |
◆ progressItemLabel
void Digikam::ProgressItem::progressItemLabel |
( |
ProgressItem * |
, |
|
|
const QString & |
|
|
) |
| |
|
signalinherited |
Emitted when the label of an item changed. Should be used by progress dialogs to update the label of an item.
- Parameters
-
The | updated item. |
The | new label. |
Referenced by Digikam::ProgressItem::setLabel().
◆ progressItemProgress
void Digikam::ProgressItem::progressItemProgress |
( |
ProgressItem * |
, |
|
|
unsigned int |
|
|
) |
| |
|
signalinherited |
◆ progressItemStatus
void Digikam::ProgressItem::progressItemStatus |
( |
ProgressItem * |
, |
|
|
const QString & |
|
|
) |
| |
|
signalinherited |
Emitted when the status message of an item changed. Should be used by progress dialogs to update the status message for an item.
- Parameters
-
The | updated item. |
The | new message. |
Referenced by Digikam::ProgressItem::setStatus().
◆ progressItemThumbnail
void Digikam::ProgressItem::progressItemThumbnail |
( |
ProgressItem * |
item, |
|
|
const QPixmap & |
thumb |
|
) |
| |
|
signalinherited |
◆ progressItemUsesBusyIndicator
void Digikam::ProgressItem::progressItemUsesBusyIndicator |
( |
ProgressItem * |
item, |
|
|
bool |
value |
|
) |
| |
|
signalinherited |
Emitted when the busy indicator state of an item changes. Should be used by progress dialogs so that they can adjust the display of the progress bar to the new mode.
- Parameters
-
item | The updated item |
value | True if the item uses a busy indicator now, false otherwise |
Referenced by Digikam::ProgressItem::setUsesBusyIndicator().
◆ removeChild()
void Digikam::ProgressItem::removeChild |
( |
ProgressItem *const |
kiddo | ) |
|
|
inherited |
◆ reset()
void Digikam::ProgressItem::reset |
( |
| ) |
|
|
inherited |
◆ setComplete()
void Digikam::ProgressItem::setComplete |
( |
| ) |
|
|
inherited |
◆ setCompletedItems()
bool Digikam::ProgressItem::setCompletedItems |
( |
unsigned int |
v | ) |
|
|
inherited |
◆ setLabel()
void Digikam::ProgressItem::setLabel |
( |
const QString & |
v | ) |
|
|
inherited |
◆ setNotificationEnabled()
void Digikam::MaintenanceTool::setNotificationEnabled |
( |
bool |
b | ) |
|
|
inherited |
If true, show a notification message on desktop notification manager with time elpased to run process.
◆ setProgress()
void Digikam::ProgressItem::setProgress |
( |
unsigned int |
v | ) |
|
|
inherited |
◆ setShowAtStart()
void Digikam::ProgressItem::setShowAtStart |
( |
bool |
showAtStart | ) |
|
|
inherited |
◆ setStatus()
void Digikam::ProgressItem::setStatus |
( |
const QString & |
v | ) |
|
|
inherited |
◆ setThumbnail()
void Digikam::ProgressItem::setThumbnail |
( |
const QIcon & |
icon | ) |
|
|
inherited |
◆ setTotalItems()
void Digikam::ProgressItem::setTotalItems |
( |
unsigned int |
v | ) |
|
|
inherited |
◆ setUseMultiCoreCPU()
void Digikam::ThumbsGenerator::setUseMultiCoreCPU |
( |
bool |
| ) |
|
|
overridevirtual |
Re-implement this method if your tool is able to use multi-core CPU to process item in parallel
Reimplemented from Digikam::MaintenanceTool.
◆ setUsesBusyIndicator()
void Digikam::ProgressItem::setUsesBusyIndicator |
( |
bool |
useBusyIndicator | ) |
|
|
inherited |
◆ showAtStart()
bool Digikam::ProgressItem::showAtStart |
( |
| ) |
const |
|
inherited |
◆ signalCanceled
void Digikam::MaintenanceTool::signalCanceled |
( |
| ) |
|
|
signalinherited |
◆ signalComplete
void Digikam::MaintenanceTool::signalComplete |
( |
| ) |
|
|
signalinherited |
◆ slotDone
void Digikam::MaintenanceTool::slotDone |
( |
| ) |
|
|
protectedvirtualslotinherited |
◆ start
void Digikam::MaintenanceTool::start |
( |
| ) |
|
|
slotinherited |
◆ status()
const QString & Digikam::ProgressItem::status |
( |
| ) |
const |
|
inherited |
◆ totalCompleted()
bool Digikam::ProgressItem::totalCompleted |
( |
| ) |
const |
|
inherited |
◆ totalItems()
unsigned int Digikam::ProgressItem::totalItems |
( |
| ) |
const |
|
inherited |
◆ updateProgress()
void Digikam::ProgressItem::updateProgress |
( |
| ) |
|
|
inherited |
◆ usesBusyIndicator()
bool Digikam::ProgressItem::usesBusyIndicator |
( |
| ) |
const |
|
inherited |
- Returns
- whether this item uses a busy indicator instead of real progress display
The documentation for this class was generated from the following files: