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

Nepomuk

Nepomuk::FileOntologyLoader

Nepomuk::FileOntologyLoader Class Reference

#include <fileontologyloader.h>

Inheritance diagram for Nepomuk::FileOntologyLoader:
Nepomuk::OntologyLoader

List of all members.

Public Member Functions

QString fileName () const
 FileOntologyLoader (const QString &filename, Soprano::RdfSerialization serialization=Soprano::SerializationUnknown)
 FileOntologyLoader ()
QList< Soprano::Statement > loadOntology (const QUrl &url)
void setFileName (const QString &filename)
void setSerialization (Soprano::RdfSerialization)
 ~FileOntologyLoader ()

Detailed Description

Deprecated:
Ontologies should now be handled using the classes in the Nepomuk::Types namespace.

Definition at line 35 of file fileontologyloader.h.


Constructor & Destructor Documentation

Nepomuk::FileOntologyLoader::FileOntologyLoader (  ) 

Default constructor.

Creates a FileOntologyLoader that will try to load the ontology directly from its URL, i.e. the internet.

Nepomuk::FileOntologyLoader::FileOntologyLoader ( const QString &  filename,
Soprano::RdfSerialization  serialization = Soprano::SerializationUnknown 
) [explicit]

Creates a FileOntologyLoader that will load the ontology from the specified filename.

Nepomuk::FileOntologyLoader::~FileOntologyLoader (  ) 

Destructor.


Member Function Documentation

QString Nepomuk::FileOntologyLoader::fileName (  )  const

The filename that has been set.

See also:
setFileName
Returns:
The filename set (can be empty)
QList<Soprano::Statement> Nepomuk::FileOntologyLoader::loadOntology ( const QUrl &  url  )  [virtual]

reimplemented from OntologyLoader

Implements Nepomuk::OntologyLoader.

void Nepomuk::FileOntologyLoader::setFileName ( const QString &  filename  ) 

Set the filename to be used for reading the ontologies.

If no filename has been set FileOntologyLoader will try load the ontology file from the internet, i.e. directly use the ontology URL - NOT IMPLEMENTED YET.

void Nepomuk::FileOntologyLoader::setSerialization ( Soprano::RdfSerialization   ) 

Set the serialization that is used in the file.

Defaults to Soprano::SerializationUnknown


The documentation for this class was generated from the following file:
  • fileontologyloader.h

Nepomuk

Skip menu "Nepomuk"
  • 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
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
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