Nepomuk
Go to the documentation of this file.
20 #ifndef _NEPOMUK_ONTOLOGY_H_
21 #define _NEPOMUK_ONTOLOGY_H_
23 #include <QtCore/QList>
24 #include <QtCore/QUrl>
25 #include <QtCore/QString>
26 #include <QtCore/QSharedData>
29 #include "nepomuk_export.h"
79 QList<Class> allClasses();
86 Class findClassByName(
const QString& name );
95 Class findClassByLabel(
const QString& label,
const QString& language = QString() );
101 QList<Property> allProperties();
108 Property findPropertyByName(
const QString& name );
117 Property findPropertyByLabel(
const QString& label,
const QString& language = QString() );
123 #ifndef DISABLE_NEPOMUK_LEGACY
163 QList<const Class*> allClasses()
const;
170 const Class* findClassByName(
const QString& name )
const;
179 const Class* findClassByLabel(
const QString& label,
const QString& language = QString() )
const;
186 const Class* findClassByUri(
const QUrl& uri )
const;
192 QList<const Property*> allProperties()
const;
199 const Property* findPropertyByName(
const QString& name )
const;
208 const Property* findPropertyByLabel(
const QString& label,
const QString& language = QString() )
const;
215 const Property* findPropertyByUri(
const QUrl& uri )
const;
226 static const Ontology* load(
const QUrl& uri );
230 QSharedDataPointer<Private> d;
236 #endif // DISABLE_NEPOMUK_LEGACY
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Sep 23 2014 09:55:51 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.