digiKam
|
Signals | |
void | signalThumbInfoReady (const CamItemInfo &) |
Public Member Functions | |
CameraController * | cameraController () const |
CameraThumbsCtrl (CameraController *const ctrl, QWidget *const parent) | |
void | clearCache () |
bool | getThumbInfo (const CamItemInfo &info, CachedItem &item) const |
void | setCacheSize (int numberOfItems) |
void | updateThumbInfoFromCache (const CamItemInfo &info) |
~CameraThumbsCtrl () override | |
|
explicit |
References Digikam::IccManager::displayProfile(), and setCacheSize().
|
override |
References clearCache().
CameraController * Digikam::CameraThumbsCtrl::cameraController | ( | ) | const |
Return camera controller instance.
Referenced by Digikam::ImportItemModel::setCameraThumbsController().
void Digikam::CameraThumbsCtrl::clearCache | ( | ) |
Referenced by ~CameraThumbsCtrl().
bool Digikam::CameraThumbsCtrl::getThumbInfo | ( | const CamItemInfo & | info, |
CachedItem & | item | ||
) | const |
Fill item with relevant information. if item is not in cache, return false and information will be dispatched later through signalThumbInfoReady(), else return true and information is available immediately.
References Digikam::ThumbnailSize::maxThumbsSize(), Digikam::CamItemInfo::name, and Digikam::CamItemInfo::url().
Referenced by updateThumbInfoFromCache().
void Digikam::CameraThumbsCtrl::setCacheSize | ( | int | numberOfItems | ) |
References Digikam::ThumbnailSize::maxThumbsSize().
Referenced by CameraThumbsCtrl().
|
signal |
void Digikam::CameraThumbsCtrl::updateThumbInfoFromCache | ( | const CamItemInfo & | info | ) |
Force controller to update info from device in cache.
References getThumbInfo(), and Digikam::CamItemInfo::url().