◆ KeywordSearchWriter()
Digikam::KeywordSearchWriter::KeywordSearchWriter |
( |
| ) |
|
|
explicit |
◆ finish()
void Digikam::SearchXmlWriter::finish |
( |
| ) |
|
|
inherited |
◆ finishField()
void Digikam::SearchXmlWriter::finishField |
( |
| ) |
|
|
inherited |
Finish writing the current field. You shall call this method before adding another field, or closing the group.
Referenced by Digikam::ItemQueryBuilder::convertFromUrlToXml(), Digikam::SearchModificationHelper::createFuzzySearchFromDropped(), Digikam::SearchModificationHelper::createFuzzySearchFromImage(), Digikam::SearchModificationHelper::createFuzzySearchFromSketch(), Digikam::SearchXmlWriter::keywordSearch(), Digikam::SearchModificationHelper::slotCreateTimeLineSearch(), Digikam::ItemLister::tagSearchXml(), Digikam::SearchFieldText::write(), Digikam::SearchFieldKeyword::write(), Digikam::SearchFieldRangeInt::write(), Digikam::SearchFieldRangeDouble::write(), Digikam::SearchFieldRangeDate::write(), Digikam::SearchFieldChoice::write(), Digikam::SearchFieldAlbum::write(), Digikam::SearchFieldRating::write(), Digikam::SearchFieldComboBox::write(), Digikam::SearchFieldCheckBox::write(), Digikam::SearchFieldLabels::write(), Digikam::SearchFieldMonthDay::write(), and xml().
◆ finishGroup()
void Digikam::SearchXmlWriter::finishGroup |
( |
| ) |
|
|
inherited |
◆ keywordSearch()
QString Digikam::SearchXmlWriter::keywordSearch |
( |
const QString & |
keyword | ) |
|
|
staticinherited |
◆ setDefaultFieldOperator()
◆ setFieldOperator()
◆ setGroupCaption()
void Digikam::SearchXmlWriter::setGroupCaption |
( |
const QString & |
caption | ) |
|
|
inherited |
Sets an optional caption.
◆ setGroupOperator()
◆ writeField()
void Digikam::SearchXmlWriter::writeField |
( |
const QString & |
name, |
|
|
SearchXml::Relation |
relation |
|
) |
| |
|
inherited |
Adds a new field with the given name (entity) and relation, "Rating less than ...". Ensure that you closed the previous field with finishField(). For a reference of valid field names, look into ItemQueryBuilder. The general rule is that names are like the database fields, but all lower-case.
References Digikam::SearchXmlWriter::writeRelation().
Referenced by Digikam::ItemQueryBuilder::convertFromUrlToXml(), Digikam::SearchModificationHelper::createFuzzySearchFromDropped(), Digikam::SearchModificationHelper::createFuzzySearchFromImage(), Digikam::SearchModificationHelper::createFuzzySearchFromSketch(), Digikam::SearchXmlWriter::keywordSearch(), Digikam::SearchModificationHelper::slotCreateTimeLineSearch(), Digikam::ItemLister::tagSearchXml(), Digikam::SearchFieldText::write(), Digikam::SearchFieldKeyword::write(), Digikam::SearchFieldRangeInt::write(), Digikam::SearchFieldRangeDouble::write(), Digikam::SearchFieldRangeDate::write(), Digikam::SearchFieldChoice::write(), Digikam::SearchFieldAlbum::write(), Digikam::SearchFieldRating::write(), Digikam::SearchFieldComboBox::write(), Digikam::SearchFieldCheckBox::write(), Digikam::SearchFieldLabels::write(), Digikam::SearchFieldMonthDay::write(), and xml().
◆ writeGroup()
void Digikam::SearchXmlWriter::writeGroup |
( |
| ) |
|
|
inherited |
◆ writeOperator()
void Digikam::SearchXmlWriter::writeOperator |
( |
const QString & |
attributeName, |
|
|
SearchXml::Operator |
op |
|
) |
| |
|
protectedinherited |
◆ writeRelation()
void Digikam::SearchXmlWriter::writeRelation |
( |
const QString & |
attributeName, |
|
|
SearchXml::Relation |
op |
|
) |
| |
|
protectedinherited |
References Digikam::SearchXml::AllOf, Digikam::SearchXml::Equal, Digikam::SearchXml::GreaterThan, Digikam::SearchXml::GreaterThanOrEqual, Digikam::SearchXml::Inside, Digikam::SearchXml::Interval, Digikam::SearchXml::IntervalOpen, Digikam::SearchXml::InTree, Digikam::SearchXml::LessThan, Digikam::SearchXml::LessThanOrEqual, Digikam::SearchXml::Like, Digikam::SearchXml::Near, Digikam::SearchXml::NotInTree, Digikam::SearchXml::NotLike, Digikam::SearchXml::OneOf, and Digikam::SearchXml::Unequal.
Referenced by Digikam::SearchXmlWriter::writeField().
◆ writeValue() [1/12]
void Digikam::SearchXmlWriter::writeValue |
( |
const QDateTime & |
dateTime | ) |
|
|
inherited |
◆ writeValue() [2/12]
void Digikam::SearchXmlWriter::writeValue |
( |
const QList< double > & |
valueList, |
|
|
int |
precision = 8 |
|
) |
| |
|
inherited |
◆ writeValue() [3/12]
void Digikam::SearchXmlWriter::writeValue |
( |
const QList< float > & |
valueList, |
|
|
int |
precision = 6 |
|
) |
| |
|
inherited |
◆ writeValue() [4/12]
void Digikam::SearchXmlWriter::writeValue |
( |
const QList< int > & |
valueList | ) |
|
|
inherited |
◆ writeValue() [5/12]
void Digikam::SearchXmlWriter::writeValue |
( |
const QList< QDateTime > & |
valueList | ) |
|
|
inherited |
◆ writeValue() [6/12]
void Digikam::SearchXmlWriter::writeValue |
( |
const QList< qlonglong > & |
valueList | ) |
|
|
inherited |
◆ writeValue() [7/12]
void Digikam::SearchXmlWriter::writeValue |
( |
const QString & |
value | ) |
|
|
inherited |
Adds the value, "4" in the case of "Rating less than 4".
References value.
Referenced by Digikam::ItemQueryBuilder::convertFromUrlToXml(), Digikam::SearchModificationHelper::createFuzzySearchFromDropped(), Digikam::SearchModificationHelper::createFuzzySearchFromImage(), Digikam::SearchModificationHelper::createFuzzySearchFromSketch(), Digikam::SearchXmlWriter::keywordSearch(), Digikam::SearchModificationHelper::slotCreateTimeLineSearch(), Digikam::ItemLister::tagSearchXml(), Digikam::SearchFieldText::write(), Digikam::SearchFieldKeyword::write(), Digikam::SearchFieldRangeInt::write(), Digikam::SearchFieldRangeDouble::write(), Digikam::SearchFieldRangeDate::write(), Digikam::SearchFieldChoice::write(), Digikam::SearchFieldAlbum::write(), Digikam::SearchFieldRating::write(), Digikam::SearchFieldComboBox::write(), Digikam::SearchFieldLabels::write(), Digikam::SearchFieldMonthDay::write(), and xml().
◆ writeValue() [8/12]
void Digikam::SearchXmlWriter::writeValue |
( |
const QStringList & |
valueList | ) |
|
|
inherited |
◆ writeValue() [9/12]
void Digikam::SearchXmlWriter::writeValue |
( |
double |
value, |
|
|
int |
precision = 8 |
|
) |
| |
|
inherited |
◆ writeValue() [10/12]
void Digikam::SearchXmlWriter::writeValue |
( |
float |
value, |
|
|
int |
precision = 6 |
|
) |
| |
|
inherited |
◆ writeValue() [11/12]
void Digikam::SearchXmlWriter::writeValue |
( |
int |
value | ) |
|
|
inherited |
◆ writeValue() [12/12]
void Digikam::SearchXmlWriter::writeValue |
( |
qlonglong |
value | ) |
|
|
inherited |
◆ xml() [1/2]
QString Digikam::SearchXmlWriter::xml |
( |
| ) |
const |
|
inherited |
◆ xml() [2/2]
QString Digikam::KeywordSearchWriter::xml |
( |
const QStringList & |
keywordList | ) |
|
◆ m_xml
QString Digikam::SearchXmlWriter::m_xml |
|
protectedinherited |
The documentation for this class was generated from the following files: