digiKam
Digikam::FieldQueryBuilder Class Reference

Public Member Functions

void addChoiceIntField (const QString &name)
 
void addChoiceStringField (const QString &name)
 
void addDateField (const QString &name)
 
void addDoubleField (const QString &name)
 
void addIntBitmaskField (const QString &name)
 
void addIntField (const QString &name)
 
void addLongField (const QString &name)
 
void addLongListField (const QString &name)
 
void addPosition ()
 
void addRectanglePositionSearch (double lon1, double lat1, double lon2, double lat2) const
 
void addStringField (const QString &name)
 
 FieldQueryBuilder (QString &sql, SearchXmlCachingReader &reader, QList< QVariant > *boundValues, ItemQueryPostHooks *const hooks, SearchXml::Relation relation)
 
QString prepareForLike (const QString &str) const
 

Public Attributes

QList< QVariant > * boundValues
 
ItemQueryPostHookshooks
 
SearchXmlCachingReaderreader
 
SearchXml::Relation relation
 
QString & sql
 

Constructor & Destructor Documentation

◆ FieldQueryBuilder()

Digikam::FieldQueryBuilder::FieldQueryBuilder ( QString &  sql,
SearchXmlCachingReader reader,
QList< QVariant > *  boundValues,
ItemQueryPostHooks *const  hooks,
SearchXml::Relation  relation 
)

Member Function Documentation

◆ addChoiceIntField()

◆ addChoiceStringField()

◆ addDateField()

◆ addDoubleField()

◆ addIntBitmaskField()

◆ addIntField()

◆ addLongField()

◆ addLongListField()

◆ addPosition()

◆ addRectanglePositionSearch()

void Digikam::FieldQueryBuilder::addRectanglePositionSearch ( double  lon1,
double  lat1,
double  lon2,
double  lat2 
) const

References boundValues, and sql.

Referenced by addPosition().

◆ addStringField()

◆ prepareForLike()

QString Digikam::FieldQueryBuilder::prepareForLike ( const QString &  str) const

Member Data Documentation

◆ boundValues

◆ hooks

ItemQueryPostHooks* Digikam::FieldQueryBuilder::hooks

Referenced by addPosition().

◆ reader

◆ relation

◆ sql


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