Nepomuk
#include <typefacet.h>
Definition at line 30 of file typefacet.h.
◆ TypeFacet()
Nepomuk::Utils::TypeFacet::TypeFacet |
( |
QObject * |
parent = 0 | ) |
|
◆ ~TypeFacet()
Nepomuk::Utils::TypeFacet::~TypeFacet |
( |
| ) |
|
◆ clearSelection
void Nepomuk::Utils::TypeFacet::clearSelection |
( |
| ) |
|
|
slot |
◆ count()
int Nepomuk::Utils::TypeFacet::count |
( |
| ) |
const |
|
virtual |
◆ guiItem()
KGuiItem Nepomuk::Utils::TypeFacet::guiItem |
( |
int |
index | ) |
const |
|
virtual |
◆ isSelected()
bool Nepomuk::Utils::TypeFacet::isSelected |
( |
int |
index | ) |
const |
|
virtual |
◆ queryTerm()
Query::Term Nepomuk::Utils::TypeFacet::queryTerm |
( |
| ) |
const |
|
virtual |
The term currently produced by this facet.
This is dependant on the subclass implementation and the selectionMode(). The SimpleFacet for example uses an AndTerm or an OrTerm to combine all its terms in MatchAll or MatchAny mode while it returns the one selected term in MatchOne mode.
Implements Nepomuk::Utils::Facet.
◆ selectFromTerm
◆ selectionMode()
The selection mode used by this facet.
The GUI client can make use of this value to adjust the GUI accordingly. A typical example would be using radio buttons for MatchOne facets.
Implements Nepomuk::Utils::Facet.
◆ setSelected
void Nepomuk::Utils::TypeFacet::setSelected |
( |
int |
index, |
|
|
bool |
selected = true |
|
) |
| |
|
slot |
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2018 The KDE developers.
Generated on Wed Aug 22 2018 19:27:58 by
doxygen 1.8.14 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.