Nepomuk
Nepomuk::Query::GroupTerm Class Reference
#include <Nepomuk/Query/GroupTerm>
Inheritance diagram for Nepomuk::Query::GroupTerm:

Additional Inherited Members | |
![]() | |
enum | Type { Invalid , Literal , Resource , And , Or , Comparison , ResourceType , Negation , Optional } |
![]() | |
static Term | fromString (const QString &s) |
static Term | fromVariant (const Variant &variant) |
![]() | |
static Term | fromProperty (const Types::Property &property, const Variant &variant) |
Detailed Description
Abstract base class for AndTerm and OrTerm which maintains a list of sub-terms.
- Since
- 4.4
Definition at line 41 of file groupterm.h.
Constructor & Destructor Documentation
◆ ~GroupTerm()
Nepomuk::Query::GroupTerm::~GroupTerm | ( | ) |
Destructor.
Member Function Documentation
◆ addSubTerm()
void Nepomuk::Query::GroupTerm::addSubTerm | ( | const Term & | term | ) |
Add a sub term to the list of terms that are combined in this group.
- See also
- setSubTerms(), subTerms()
◆ setSubTerms()
void Nepomuk::Query::GroupTerm::setSubTerms | ( | const QList< Term > & | terms | ) |
Set the sub terms that are combined in this group.
- See also
- subTerms()
◆ subTerms()
QList< Term > Nepomuk::Query::GroupTerm::subTerms | ( | ) | const |
The sub terms that are combined in this group.
- See also
- setSubTerms()
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.