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

Nepomuk

Namespaces | Classes | Enumerations | Functions

Nepomuk Namespace Reference

Namespaces

namespace  Query
namespace  Types
namespace  Utils
namespace  Vocabulary

Classes

class  Class
 A Class is a resource of type rdf:Class. More...
class  DesktopOntologyLoader
 The DesktopOntologyLoader reads ontologies from the installed ontologies on the desktop using KStandardDirs. More...
class  Entity
class  File
 A Nepomuk resource representing a file. More...
class  FileOntologyLoader
class  Literal
 Defines a literal type based on XML Schema. More...
class  MassUpdateJob
 A KJob to set Nepomuk properties on a set of resources at once. More...
class  NepomukOntologyLoader
class  Ontology
 Ontology represents one ontology specified using NRL. More...
class  OntologyLoader
 An OntologyLoader provides the statements that make up an ontology for the OntologyManager to create the ontology classes and properties. More...
class  OntologyManager
 The OntologyManager is the central ontology cache handler. More...
class  Property
 A property is a resource of type rdf:Property which relates a domain with a range. More...
class  Resource
 Resource is the central object type in Nepomuk. More...
class  ResourceManager
 The ResourceManager is the central Nepomuk configuration point. More...
class  Service
 Base class for all Nepomuk services. More...
class  Tag
 A Tag can be assigned to any Thing. More...
class  TagCloud
 Tag cloud widget that displays all tags stored in the local Nepomuk store. More...
class  TagWidget
 Allows to change a selection of tags. More...
class  Thing
 A Nepomuk PIMO Thing resource. More...
class  Variant
 The Nepomuk Variant extends over QVariant by introducing direct support for Resource embedding, automatic list conversion and a restricted set of supported types. More...

Enumerations

enum  ErrorCode { NoError = 0, CommunicationError, InvalidType, UnknownError }

Functions

template<typename T >
QList< T > convertResourceList (const QList< Resource > &l)
template<typename T >
QList< Resource > convertResourceList (const QList< T > &l)
QString defaultGraph ()
QString errorString (ErrorCode code)
QUrl extractNamespace (const QUrl &url)
QString naoNamespace ()
QString nrlNamespace ()
uint qHash (const Resource &res)
Variant RDFLiteralToValue (const Soprano::Node &node)
QString rdfNamepace ()
QString rdfsNamespace ()
void setDefaultRepository (const QString &s)
QString typePredicate ()
builddir build BUILD kdelibs
nepomuk core tools h QList
< Soprano::Node > 
valuesToRDFNodes (const Variant &)
Soprano::Node valueToRDFNode (const Variant &)

Enumeration Type Documentation

enum Nepomuk::ErrorCode
Enumerator:
NoError 
CommunicationError 

A communication error, i.e.

connection failure

InvalidType 
UnknownError 

Definition at line 45 of file resource.h.


Function Documentation

template<typename T >
QList<T> Nepomuk::convertResourceList ( const QList< Resource > &  l)

Used internally by Resource.

Convert a list of resources to a list of Ts where T needs to be a subclass of Resource.

Returns:
A list containing all resources in l represented as a T.

Definition at line 59 of file tools.h.

template<typename T >
QList<Resource> Nepomuk::convertResourceList ( const QList< T > &  l)

Used internally by Resource.

Convert a list of Ts to a list of Resources where T needs to be a subclass of Resource.

Returns:
A list containing all resources in l.

Definition at line 74 of file tools.h.

QString Nepomuk::defaultGraph ( )
Returns:
The name of the default Nepomuk repository ("main").
Deprecated:
Use Nepomuk::ResourceManager::mainModel()
QString Nepomuk::errorString ( ErrorCode  code)
Returns:
A human-readble string.
QUrl Nepomuk::extractNamespace ( const QUrl &  url)
QString Nepomuk::naoNamespace ( )
Deprecated:
Use Soprano::Vocabulary::NAO::naoNamepace()
QString Nepomuk::nrlNamespace ( )
Deprecated:
Use Soprano::Vocabulary::NRL::nrlNamepace()
uint Nepomuk::qHash ( const Resource &  res)
Variant Nepomuk::RDFLiteralToValue ( const Soprano::Node &  node)
Deprecated:
Use Variant::fromNode() instead.
QString Nepomuk::rdfNamepace ( )
Deprecated:
Use Soprano::Vocabulary::RDF::rdfNamepace()
QString Nepomuk::rdfsNamespace ( )
Deprecated:
Use Soprano::Vocabulary::RDFS::rdfsNamepace()
void Nepomuk::setDefaultRepository ( const QString &  s)
Deprecated:
Has no effect anymore.
QString Nepomuk::typePredicate ( )
Deprecated:
Use Soprano::Vocabulary::RDF::type()
builddir build BUILD kdelibs nepomuk core tools h QList<Soprano::Node> Nepomuk::valuesToRDFNodes ( const Variant &  )

Used internally by Resource.

Converts a Variant into a literal value to be used in the RDF store.

Deprecated:
Use Nepomuk::Varaint::toNodeList()
Soprano::Node Nepomuk::valueToRDFNode ( const Variant &  )

Used internally by Resource.

Converts a non-list Variant into a Soprano::Node.

Deprecated:
Use Nepomuk::Varaint::toNode()

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