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

nepomuk/core

Nepomuk Namespace Reference


Classes

class  Resource
 Resource is the central object type in Nepomuk. More...
class  Tag
 A Tag can be assigned to any Thing. More...
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  FileOntologyLoader
class  Literal
 Defines a literal type based on XML Schema. 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  ResourceManager
 The ResourceManager is the central KMetaData configuration point. More...
class  TagCloud
 Tag cloud widget that displays all tags stored in the local Nepomuk store. More...
class  TagWidget
 TagWidget provides a simple GUI interface to assign tags. More...
class  RatingPainter
 Utility class that draws a row of stars for a rating value. More...
class  Variant
 The KMetaData Variant extends over QVariant by introducing direct support for Resource embedding, automatic list conversion and a restricted set of supported types. More...

Namespaces

namespace  Middleware

Enumerations

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

Functions

QString errorString (ErrorCode code)
QUrl extractNamespace (const QUrl &url)
void setDefaultRepository (const QString &s)
QString defaultGraph ()
QString typePredicate ()
Soprano::Node valueToRDFNode (const Nepomuk::Variant &v)
QList< Soprano::Node > valuesToRDFNodes (const Variant &)
Nepomuk::Variant RDFLiteralToValue (const Soprano::Node &node)
QString rdfNamepace ()
QString rdfsNamespace ()
QString nrlNamespace ()
QString naoNamespace ()
template<typename T>
QList< T > convertResourceList (const QList< Resource > &l)
template<typename T>
QList< Resource > convertResourceList (const QList< T > &l)

Enumeration Type Documentation

enum Nepomuk::ErrorCode

Enumerator:
NoError 
CommunicationError  A commication error, i.e.

connection failure

InvalidType 
UnknownError 

Definition at line 41 of file resource.h.


Function Documentation

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

Definition at line 75 of file tools.h.

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

Definition at line 67 of file tools.h.

NEPOMUK_EXPORT QString Nepomuk::defaultGraph (  ) 

Used internally by Resource.

Returns:
The URI of the RDF graph meta data is stored in.

Definition at line 53 of file tools.cpp.

NEPOMUK_EXPORT QString Nepomuk::errorString ( ErrorCode  code  ) 

Returns:
A human-readble string.

Definition at line 293 of file resource.cpp.

NEPOMUK_EXPORT QUrl Nepomuk::extractNamespace ( const QUrl &  url  ) 

Definition at line 26 of file global.cpp.

NEPOMUK_EXPORT QString Nepomuk::naoNamespace (  ) 

Definition at line 117 of file tools.cpp.

NEPOMUK_EXPORT QString Nepomuk::nrlNamespace (  ) 

Definition at line 111 of file tools.cpp.

NEPOMUK_EXPORT Variant Nepomuk::RDFLiteralToValue ( const Soprano::Node &  node  ) 

Used internally by Resource.

Converts a literal value from the RDF store into a Variant.

Definition at line 93 of file tools.cpp.

NEPOMUK_EXPORT QString Nepomuk::rdfNamepace (  ) 

Definition at line 99 of file tools.cpp.

NEPOMUK_EXPORT QString Nepomuk::rdfsNamespace (  ) 

Definition at line 105 of file tools.cpp.

NEPOMUK_EXPORT void Nepomuk::setDefaultRepository ( const QString &  s  ) 

Set a custom default repository to use.

It is not recommended to use this method in production code. It should only be used for testing purposes.

Definition at line 47 of file tools.cpp.

NEPOMUK_EXPORT QString Nepomuk::typePredicate (  ) 

Used internally by Resource.

Returns:
The URI of the predicate used to state the type of a resource.

Definition at line 63 of file tools.cpp.

NEPOMUK_EXPORT 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. Uses the language set in the current KDE session.

Definition at line 75 of file tools.cpp.

NEPOMUK_EXPORT Soprano::Node Nepomuk::valueToRDFNode ( const Nepomuk::Variant &  v  ) 

Definition at line 69 of file tools.cpp.

nepomuk/core

Skip menu "nepomuk/core"
  • Main Page
  • 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
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   WTF
  • KJSEmbed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  •   core
  • Phonon
  •   Backend
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
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