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

Nepomuk

  • Nepomuk
  • FileOntologyLoader
Public Member Functions | List of all members
Nepomuk::FileOntologyLoader Class Reference

#include <fileontologyloader.h>

Inheritance diagram for Nepomuk::FileOntologyLoader:
Inheritance graph
[legend]

Public Member Functions

 FileOntologyLoader ()
 
 FileOntologyLoader (const QString &filename, Soprano::RdfSerialization serialization=Soprano::SerializationUnknown)
 
 ~FileOntologyLoader ()
 
QString fileName () const
 
QList< Soprano::Statement > loadOntology (const QUrl &url)
 
void setFileName (const QString &filename)
 
void setSerialization (Soprano::RdfSerialization)
 
- Public Member Functions inherited from Nepomuk::OntologyLoader
virtual ~OntologyLoader ()
 

Additional Inherited Members

- Protected Member Functions inherited from Nepomuk::OntologyLoader
 OntologyLoader ()
 

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