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