Nepomuk-Core
Nepomuk2::Query::GroupTerm Class Reference
#include <Nepomuk2/Query/GroupTerm>
Inheritance diagram for Nepomuk2::Query::GroupTerm:
Additional Inherited Members | |
Public Types inherited from Nepomuk2::Query::Term | |
enum | Type { Invalid, Literal, Resource, And, Or, Comparison, ResourceType, Negation, Optional } |
Static Public Member Functions inherited from Nepomuk2::Query::Term | |
static Term | fromString (const QString &s) |
static Term | fromVariant (const Variant &variant) |
Related Functions inherited from Nepomuk2::Query::Term | |
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
Nepomuk2::Query::GroupTerm::~GroupTerm | ( | ) |
Destructor.
Definition at line 89 of file groupterm.cpp.
Member Function Documentation
void Nepomuk2::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()
Definition at line 108 of file groupterm.cpp.
void Nepomuk2::Query::GroupTerm::setSubTerms | ( | const QList< Term > & | terms | ) |
Set the sub terms that are combined in this group.
- See also
- subTerms()
Definition at line 101 of file groupterm.cpp.
QList< Nepomuk2::Query::Term > Nepomuk2::Query::GroupTerm::subTerms | ( | ) | const |
The sub terms that are combined in this group.
- See also
- setSubTerms()
Definition at line 94 of file groupterm.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:09 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:09 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.