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

Nepomuk

Namespaces | Classes | Enumerations | Functions
Nepomuk Namespace Reference

Namespaces

 DBus
 
 Query
 
 Types
 
 Utils
 
 Vocabulary
 

Classes

class  Class
 
class  DesktopOntologyLoader
 
class  Entity
 
class  File
 
class  FileOntologyLoader
 
class  Literal
 
class  MassUpdateJob
 
class  NepomukOntologyLoader
 
class  Ontology
 
class  OntologyLoader
 
class  OntologyManager
 
class  Property
 
class  Resource
 
class  ResourceManager
 
class  ResourceWatcher
 
class  Service
 
class  Tag
 
class  TagCloud
 
class  TagWidget
 
class  Thing
 
class  Variant
 

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 ()
 
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 58 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 73 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()
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()
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:02 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