• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

Nepomuk

  • Nepomuk
  • Query
  • GroupTerm
Public Member Functions | List of all members
Nepomuk::Query::GroupTerm Class Reference

#include <Nepomuk/Query/GroupTerm>

Inheritance diagram for Nepomuk::Query::GroupTerm:
Inheritance graph
[legend]

Public Member Functions

 ~GroupTerm ()
 
void addSubTerm (const Term &term)
 
void setSubTerms (const QList< Term > &terms)
 
QList< Term > subTerms () const
 
- Public Member Functions inherited from Nepomuk::Query::Term
 Term ()
 
 Term (const Term &other)
 
 ~Term ()
 
bool isAndTerm () const
 
bool isComparisonTerm () const
 
bool isLiteralTerm () const
 
bool isNegationTerm () const
 
bool isOptionalTerm () const
 
bool isOrTerm () const
 
bool isResourceTerm () const
 
bool isResourceTypeTerm () const
 
bool isValid () const
 
bool operator!= (const Term &term) const
 
QDebug operator<< (QDebug) const
 
Term & operator= (const Term &other)
 
bool operator== (const Term &term) const
 
Term optimized () const
 
AndTerm toAndTerm () const
 
AndTerm & toAndTerm ()
 
ComparisonTerm toComparisonTerm () const
 
ComparisonTerm & toComparisonTerm ()
 
LiteralTerm toLiteralTerm () const
 
LiteralTerm & toLiteralTerm ()
 
NegationTerm toNegationTerm () const
 
NegationTerm & toNegationTerm ()
 
OptionalTerm toOptionalTerm () const
 
OptionalTerm & toOptionalTerm ()
 
OrTerm toOrTerm () const
 
OrTerm & toOrTerm ()
 
ResourceTerm toResourceTerm () const
 
ResourceTerm & toResourceTerm ()
 
ResourceTypeTerm toResourceTypeTerm () const
 
ResourceTypeTerm & toResourceTypeTerm ()
 
QString toString () const
 
Type type () const
 

Additional Inherited Members

- Public Types inherited from Nepomuk::Query::Term
enum  Type {
  Invalid, Literal, Resource, And,
  Or, Comparison, ResourceType, Negation,
  Optional
}
 
- Static Public Member Functions inherited from Nepomuk::Query::Term
static Term fromString (const QString &s)
 
static Term fromVariant (const Variant &variant)
 
- Related Functions inherited from Nepomuk::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.

Author
Sebastian Trueg trueg.nosp@m.@kde.nosp@m..org
Since
4.4

Definition at line 41 of file groupterm.h.

Constructor & Destructor Documentation

Nepomuk::Query::GroupTerm::~GroupTerm ( )

Destructor.

Member Function Documentation

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()
void Nepomuk::Query::GroupTerm::setSubTerms ( const QList< Term > &  terms)

Set the sub terms that are combined in this group.

See also
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:
  • groupterm.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Nepomuk

Skip menu "Nepomuk"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal