GroupTerm Class Reference
from PyKDE4.nepomuk import *
Inherits: Nepomuk.Query.Term
Subclasses: Nepomuk.Query.AndTerm, Nepomuk.Query.OrTerm
Namespace: Nepomuk.Query.GroupTerm
Detailed Description
\class GroupTerm groupterm.h Nepomuk/Query/GroupTerm
Abstract base class for AndTerm and OrTerm which maintains a list of sub-terms.
- Since:
- 4.4
Methods | |
| __init__ (self, Nepomuk.Query.Term term) | |
| __init__ (self, TermPrivate a0) | |
| __init__ (self, TermPrivate a0, Nepomuk.Query.Term term1, Nepomuk.Query.Term term2, Nepomuk.Query.Term term3=Nepomuk.Query.Term(), Nepomuk.Query.Term term4=Nepomuk.Query.Term(), Nepomuk.Query.Term term5=Nepomuk.Query.Term(), Nepomuk.Query.Term term6=Nepomuk.Query.Term()) | |
| addSubTerm (self, Nepomuk.Query.Term term) | |
| setSubTerms (self, [Nepomuk.Query.Term] terms) | |
| [Nepomuk.Query.Term] | subTerms (self) |
Method Documentation
| __init__ | ( | self, | ||
| Nepomuk.Query.Term | term | |||
| ) |
\cond protected_error_members
| __init__ | ( | self, | ||
| TermPrivate | a0 | |||
| ) |
| __init__ | ( | self, | ||
| TermPrivate | a0, | |||
| Nepomuk.Query.Term | term1, | |||
| Nepomuk.Query.Term | term2, | |||
| Nepomuk.Query.Term | term3=Nepomuk.Query.Term(), | |||
| Nepomuk.Query.Term | term4=Nepomuk.Query.Term(), | |||
| Nepomuk.Query.Term | term5=Nepomuk.Query.Term(), | |||
| Nepomuk.Query.Term | term6=Nepomuk.Query.Term() | |||
| ) |
| addSubTerm | ( | self, | ||
| Nepomuk.Query.Term | term | |||
| ) |
Add a sub term to the list of terms that are combined in this group.
\sa setSubTerms(), subTerms()
| setSubTerms | ( | self, | ||
| [Nepomuk.Query.Term] | terms | |||
| ) |
Set the sub terms that are combined in this group.
\sa subTerms()
| [Nepomuk.Query.Term] subTerms | ( | self ) |
The sub terms that are combined in this group.
\sa setSubTerms()
KDE 4.4 PyKDE API Reference