Nepomuk
simplefacet.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
void addTerm(const KGuiItem &item, const Nepomuk::Query::Term &queryTerm)
Add a new term.
Query::Term queryTerm() const
bool isSelected(int index) const
void setSelected(int index, bool selected=true)
Selects or deselects the term at index.
int count() const
void setSelectionMode(SelectionMode mode)
Set the selection mode to use in this facet.
Query::Term termAt(int index) const
KGuiItem guiItem(int index) const
void addTerm(const QString &text, const Nepomuk::Query::Term &queryTerm)
Add a new term.
bool selectFromTerm(const Nepomuk::Query::Term &queryTerm)
The term is analyzed depending on the selectionMode().
SelectionMode selectionMode() const
The selection mode set via setSelectionMode()
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.