Nepomuk
proxyfacet.h
Nepomuk::Query::Term facetCondition() const
The facet condition set via setFacetCondition()
void setSelected(int index, bool selected=true)
Selects or deselects the term at index.
bool selectFromTerm(const Nepomuk::Query::Term &queryTerm)
The term is analyzed depending on the selectionMode().
The base class for all facets used to create query filters.
Definition: facet.h:75
int count() const
void setFacetCondition(const Nepomuk::Query::Term &queryTerm)
Allows to set a condition for the entire facet.
A facet forwarding the filtered choices from another facet.
Definition: proxyfacet.h:48
Facet * sourceFacet() const
The source facet which this proxy facet is forwarding.
ProxyFacet(QObject *parent=0)
Create a new proxy facet without a source.
bool isSelected(int index) const
virtual Nepomuk::Query::Term queryTerm() const
The query term forwarded and optionally filtered from the sourceModel().
void handleClientQueryChange()
This method is called from setClientQuery() and can be reimplemented by subclasses.
virtual bool facetConditionMet() const
Used internally to determine if the facet condition is met.
SelectionMode selectionMode() const
The selection mode forwarded from the sourceFacet().
KGuiItem guiItem(int index) const
The gui item forwarded from the sourceFacet().
SelectionMode
A Facet can have one of three selection modes which is provided by selectionMode().
Definition: facet.h:93
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Aug 27 2020 00:00:00 by doxygen 1.8.20 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Aug 27 2020 00:00:00 by doxygen 1.8.20 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.