Nepomuk
simplefacet.h
void setSelectionMode(SelectionMode mode)
Set the selection mode to use in this facet.
Query::Term queryTerm() const
Query::Term termAt(int index) const
void setSelected(int index, bool selected=true)
Selects or deselects the term at index.
SelectionMode selectionMode() const
The selection mode set via setSelectionMode()
int count() const
The base class for all facets used to create query filters.
Definition: facet.h:75
KGuiItem guiItem(int index) const
bool selectFromTerm(const Nepomuk::Query::Term &queryTerm)
The term is analyzed depending on the selectionMode().
void addTerm(const KGuiItem &item, const Nepomuk::Query::Term &queryTerm)
Add a new term.
void addTerm(const QString &text, const Nepomuk::Query::Term &queryTerm)
Add a new term.
SelectionMode
A Facet can have one of three selection modes which is provided by selectionMode().
Definition: facet.h:93
bool isSelected(int index) const
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.