Nepomuk
proxyfacet.h
Go to the documentation of this file.
SelectionMode
A Facet can have one of three selection modes which is provided by selectionMode().
Definition facet.h:93
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.
The Utils namespace contains utility and convenience methods and classes that help the application de...
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.