digiKam
Digikam::ItemQueryPostHooks Class Reference

Public Member Functions

void addHook (ItemQueryPostHook *const hook)
 
bool checkPosition (double latitudeNumber, double longitudeNumber)
 
 ItemQueryPostHooks ()
 
 ~ItemQueryPostHooks ()
 

Protected Attributes

QList< ItemQueryPostHook * > m_postHooks
 

Constructor & Destructor Documentation

◆ ItemQueryPostHooks()

Digikam::ItemQueryPostHooks::ItemQueryPostHooks ( )
explicit

◆ ~ItemQueryPostHooks()

Digikam::ItemQueryPostHooks::~ItemQueryPostHooks ( )

References m_postHooks.

Member Function Documentation

◆ addHook()

void Digikam::ItemQueryPostHooks::addHook ( ItemQueryPostHook *const  hook)

Called by ItemQueryBuilder. Ownership of the object is passed.

References m_postHooks.

Referenced by Digikam::FieldQueryBuilder::addPosition().

◆ checkPosition()

bool Digikam::ItemQueryPostHooks::checkPosition ( double  latitudeNumber,
double  longitudeNumber 
)

Call this method after passing the object to buildQuery and executing the statement. Returns true if the search is matched.

References Digikam::ItemQueryPostHook::checkPosition(), and m_postHooks.

Referenced by Digikam::ItemLister::listSearch().

Member Data Documentation

◆ m_postHooks

QList<ItemQueryPostHook*> Digikam::ItemQueryPostHooks::m_postHooks
protected

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