digiKam
Digikam::ItemLister Class Reference

Classes

class  Private
 

Public Member Functions

 ItemLister ()
 
void list (ItemListerReceiver *const receiver, const CoreDbUrl &url)
 
void listDateRange (ItemListerReceiver *const receiver, const QDate &startDate, const QDate &endDate)
 
void setListOnlyAvailable (bool listOnlyAvailable)
 
void setRecursive (bool recursive)
 
 ~ItemLister ()
 
Operations with TAlbum
void listTag (ItemListerReceiver *const receiver, const QList< int > &tagIds)
 
void listImageTagPropertySearch (ItemListerReceiver *const receiver, const QString &xml)
 
QString tagSearchXml (int tagId, const QString &type, bool includeChildTags) const
 

Operations with FAlbum

void listFaces (ItemListerReceiver *const receiver, int personId)
 

Operations with PAlbum

void listPAlbum (ItemListerReceiver *const receiver, int albumRootId, const QString &album)
 

Operations with SAlbum

void listSearch (ItemListerReceiver *const receiver, const QString &xml, int limit=0, qlonglong referenceImageId=-1)
 
void listHaarSearch (ItemListerReceiver *const receiver, const QString &xml)
 
void listAreaRange (ItemListerReceiver *const receiver, double lat1, double lat2, double lon1, double lon2)
 

Constructor & Destructor Documentation

◆ ItemLister()

Digikam::ItemLister::ItemLister ( )
explicit

◆ ~ItemLister()

Digikam::ItemLister::~ItemLister ( )

Member Function Documentation

◆ list()

◆ listAreaRange()

void Digikam::ItemLister::listAreaRange ( ItemListerReceiver *const  receiver,
double  lat1,
double  lat2,
double  lon1,
double  lon2 
)

◆ listDateRange()

◆ listFaces()

void Digikam::ItemLister::listFaces ( ItemListerReceiver *const  receiver,
int  personId 
)

List the images which have faces. An image with n faces will be listed n times. FIXME: Obviously an ugly way. Should be trashed later in favor of a better method.

References Digikam::CoreDbAccess::backend(), Digikam::BdEngineBackend::execSql(), Digikam::TagsCache::instance(), list(), Digikam::TagsCache::tagForPath(), Digikam::TagsCache::tagName(), and Digikam::ItemTagPair::values().

◆ listHaarSearch()

◆ listImageTagPropertySearch()

◆ listPAlbum()

◆ listSearch()

◆ listTag()

◆ setListOnlyAvailable()

void Digikam::ItemLister::setListOnlyAvailable ( bool  listOnlyAvailable)

Adjust the setting if images from collections that are currently not in the state "available" will be included in the listing. Default: true.

References Digikam::ItemLister::Private::listOnlyAvailableImages.

Referenced by Digikam::AlbumsJob::run(), Digikam::DatesJob::run(), Digikam::GPSJob::run(), and Digikam::TagsJob::run().

◆ setRecursive()

void Digikam::ItemLister::setRecursive ( bool  recursive)

Adjust the setting if album or tags will be listed recursively (i.e. including subalbums / subtags)

References Digikam::ItemLister::Private::recursive.

Referenced by Digikam::AlbumsJob::run(), and Digikam::TagsJob::run().

◆ tagSearchXml()


The documentation for this class was generated from the following files: