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

Nepomuk

  • Nepomuk
  • Query
  • OrTerm
Public Member Functions | Related Functions

Nepomuk::Query::OrTerm Class Reference

Match resource that match at least one of the sub terms. More...

#include <Nepomuk/Query/OrTerm>

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

List of all members.

Public Member Functions

 OrTerm ()
 OrTerm (const OrTerm &term)
 OrTerm (const QList< Term > &terms)
 OrTerm (const Term &term1, const Term &term2, const Term &term3=Term(), const Term &term4=Term(), const Term &term5=Term(), const Term &term6=Term())
 ~OrTerm ()
OrTerm & operator= (const OrTerm &term)

Related Functions

(Note that these are not member functions.)
Term operator|| (const Term &term1, const Term &term2)

Detailed Description

Match resource that match at least one of the sub terms.

This class - like AndTerm - is derived from GroupTerm which handles the sub terms.

Author:
Sebastian Trueg <trueg@kde.org>
Since:
4.4

Definition at line 43 of file orterm.h.


Constructor & Destructor Documentation

Nepomuk::Query::OrTerm::OrTerm ( )

Default constructor: creates an invalid or-term.

Nepomuk::Query::OrTerm::OrTerm ( const OrTerm &  term)

Copy constructor.

Nepomuk::Query::OrTerm::OrTerm ( const Term &  term1,
const Term &  term2,
const Term &  term3 = Term(),
const Term &  term4 = Term(),
const Term &  term5 = Term(),
const Term &  term6 = Term() 
)

Convinience constructor which allows to combine several terms in one line.

Nepomuk::Query::OrTerm::OrTerm ( const QList< Term > &  terms)

Combine terms into one and-term.

Nepomuk::Query::OrTerm::~OrTerm ( )

Destructor.


Member Function Documentation

OrTerm& Nepomuk::Query::OrTerm::operator= ( const OrTerm &  term)

Assignment operator.


Friends And Related Function Documentation

Term operator|| ( const Term &  term1,
const Term &  term2 
) [related]

Logical or operator which combines two terms into one term matching either term1 or term2.

Since:
4.6

The documentation for this class was generated from the following files:
  • orterm.h
  • term.h

Nepomuk

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.3
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal