◆ ItemQueryBuilder()
Digikam::ItemQueryBuilder::ItemQueryBuilder |
( |
| ) |
|
|
explicit |
◆ addNoEffectContent()
◆ addSqlOperator()
void Digikam::ItemQueryBuilder::addSqlOperator |
( |
QString & |
sql, |
|
|
SearchXml::Operator |
op, |
|
|
bool |
isFirst |
|
) |
| |
|
static |
◆ addSqlRelation()
References Digikam::SearchXml::Equal, Digikam::SearchXml::GreaterThan, Digikam::SearchXml::GreaterThanOrEqual, Digikam::SearchXml::LessThan, Digikam::SearchXml::LessThanOrEqual, Digikam::SearchXml::Like, Digikam::SearchXml::NotLike, Digikam::SearchXml::OneOf, and Digikam::SearchXml::Unequal.
Referenced by Digikam::FieldQueryBuilder::addChoiceStringField(), Digikam::FieldQueryBuilder::addDateField(), Digikam::FieldQueryBuilder::addDoubleField(), Digikam::FieldQueryBuilder::addIntField(), Digikam::FieldQueryBuilder::addLongField(), Digikam::FieldQueryBuilder::addStringField(), and buildField().
◆ buildField()
References Digikam::CoreDB::addBoundValuePlaceholders(), Digikam::FieldQueryBuilder::addChoiceIntField(), Digikam::FieldQueryBuilder::addChoiceStringField(), Digikam::FieldQueryBuilder::addDateField(), Digikam::FieldQueryBuilder::addDoubleField(), Digikam::FieldQueryBuilder::addIntBitmaskField(), Digikam::FieldQueryBuilder::addIntField(), Digikam::FieldQueryBuilder::addLongField(), Digikam::FieldQueryBuilder::addLongListField(), Digikam::FieldQueryBuilder::addPosition(), addSqlOperator(), addSqlRelation(), Digikam::FieldQueryBuilder::addStringField(), Digikam::SearchXml::AllOf, Digikam::SearchXml::And, Digikam::DatabaseComment::Comment, Digikam::CoreDbAccess::db(), Digikam::SearchXml::Equal, Digikam::SearchXmlCachingReader::fieldRelation(), Digikam::CoreDB::getAlbumRelativePath(), Digikam::CoreDB::getAlbumRootId(), Digikam::SearchXml::GreaterThan, Digikam::SearchXml::GreaterThanOrEqual, Digikam::DatabaseComment::Headline, Digikam::SearchXml::Interval, Digikam::SearchXml::InTree, Digikam::SearchXml::LessThan, Digikam::SearchXml::LessThanOrEqual, Digikam::SearchXml::Like, m_imageTagPropertiesJoined, Digikam::SearchXml::NotInTree, Digikam::SearchXml::NotLike, Digikam::SearchXml::OneOf, Digikam::SearchXml::Or, Digikam::MetaEngine::ORIENTATION_ROT_90_HFLIP, Digikam::MetaEngine::ORIENTATION_VFLIP, Digikam::CoreDbAccess::parameters(), Digikam::FieldQueryBuilder::prepareForLike(), QT_SKIP_EMPTY_PARTS, Digikam::SearchXmlReader::readToEndOfElement(), Digikam::DatabaseComment::Title, Digikam::SearchXml::Unequal, value, Digikam::SearchXmlCachingReader::value(), Digikam::SearchXmlCachingReader::valueToDoubleList(), Digikam::SearchXmlCachingReader::valueToInt(), Digikam::SearchXmlCachingReader::valueToIntList(), Digikam::SearchXmlCachingReader::valueToIntOrIntList(), Digikam::SearchXmlCachingReader::valueToStringList(), and Digikam::SearchXmlCachingReader::valueToStringOrStringList().
Referenced by buildGroup().
◆ buildGroup()
◆ buildQuery()
QString Digikam::ItemQueryBuilder::buildQuery |
( |
const QString & |
q, |
|
|
QList< QVariant > * |
boundValues, |
|
|
ItemQueryPostHooks *const |
hooks |
|
) |
| const |
◆ buildQueryFromUrl()
QString Digikam::ItemQueryBuilder::buildQueryFromUrl |
( |
const QUrl & |
url, |
|
|
QList< QVariant > * |
boundValues |
|
) |
| const |
References Digikam::ALBUM, Digikam::ALBUMCAPTION, Digikam::ALBUMCOLLECTION, Digikam::ALBUMNAME, Digikam::SubQueryBuilder::build(), Digikam::EQ, Digikam::GT, Digikam::GTE, Digikam::IMAGECAPTION, Digikam::IMAGEDATE, Digikam::IMAGENAME, Digikam::RuleType::key, Digikam::KEYWORD, Digikam::LIKE, Digikam::LT, Digikam::LTE, Digikam::NE, Digikam::NLIKE, Digikam::RuleType::op, possibleDate(), QT_SKIP_EMPTY_PARTS, Digikam::RATING, Digikam::TAG, Digikam::TAGNAME, and Digikam::RuleType::val.
Referenced by buildQuery().
◆ buildQueryFromXml()
QString Digikam::ItemQueryBuilder::buildQueryFromXml |
( |
const QString & |
xml, |
|
|
QList< QVariant > * |
boundValues, |
|
|
ItemQueryPostHooks *const |
hooks |
|
) |
| const |
◆ convertFromUrlToXml()
QString Digikam::ItemQueryBuilder::convertFromUrlToXml |
( |
const QUrl & |
url | ) |
const |
References Digikam::SearchXml::Equal, Digikam::SearchXmlWriter::finish(), Digikam::SearchXmlWriter::finishField(), Digikam::SearchXmlWriter::finishGroup(), Digikam::SearchXml::GreaterThan, Digikam::SearchXml::GreaterThanOrEqual, Digikam::SearchXml::InTree, Digikam::RuleTypeForConversion::key, Digikam::SearchXml::LessThan, Digikam::SearchXml::LessThanOrEqual, Digikam::SearchXml::Like, Digikam::SearchXml::NotInTree, Digikam::SearchXml::NotLike, Digikam::RuleTypeForConversion::op, Digikam::SearchXml::Or, QT_SKIP_EMPTY_PARTS, Digikam::SearchXmlWriter::setGroupOperator(), Digikam::SearchXml::Unequal, Digikam::RuleTypeForConversion::val, Digikam::SearchXmlWriter::writeField(), Digikam::SearchXmlWriter::writeGroup(), Digikam::SearchXmlWriter::writeValue(), and Digikam::SearchXmlWriter::xml().
◆ possibleDate()
QString Digikam::ItemQueryBuilder::possibleDate |
( |
const QString & |
str, |
|
|
bool & |
exact |
|
) |
| const |
|
protected |
◆ setImageTagPropertiesJoined()
void Digikam::ItemQueryBuilder::setImageTagPropertiesJoined |
( |
bool |
isJoined | ) |
|
◆ m_imageTagPropertiesJoined
bool Digikam::ItemQueryBuilder::m_imageTagPropertiesJoined |
|
protected |
◆ m_longMonths
QString Digikam::ItemQueryBuilder::m_longMonths[12] |
|
protected |
◆ m_shortMonths
QString Digikam::ItemQueryBuilder::m_shortMonths[12] |
|
protected |
The documentation for this class was generated from the following files: