Nepomuk
Go to the documentation of this file.
20 #ifndef _NEPOMUK_ENTITY_H_
21 #define _NEPOMUK_ENTITY_H_
23 #include <QtCore/QUrl>
24 #include <QtCore/QString>
25 #include <QtCore/QSharedData>
26 #include <QtCore/QHash>
28 #include <Soprano/Node>
33 #include "nepomuk_export.h"
94 QString label(
const QString& language = KGlobal::locale()->language() );
111 QString label(
const QString& language = KGlobal::locale()->language() )
const;
124 QString comment(
const QString& language = KGlobal::locale()->language() );
141 QString comment(
const QString& language = KGlobal::locale()->language() )
const;
170 bool isValid()
const;
186 bool isAvailable()
const;
201 void reset(
bool recursive =
false );
211 bool userVisible()
const;
216 operator QUrl()
const {
return uri(); }
222 bool operator==(
const Entity& other )
const;
229 bool operator==(
const QUrl& other )
const;
235 bool operator!=(
const Entity& other )
const;
242 bool operator!=(
const QUrl& other )
const;
250 QExplicitlySharedDataPointer<EntityPrivate>
d;
260 #ifndef DISABLE_NEPOMUK_LEGACY
269 class KDE_DEPRECATED NEPOMUK_EXPORT
Entity
280 const Ontology* definingOntology()
const;
286 QString name()
const;
293 QString label(
const QString& language = QString() )
const;
294 QString comment(
const QString& language = QString() )
const;
301 QSharedDataPointer<Private> d;
307 #endif // DISABLE_NEPOMUK_LEGACY
309 #endif // _NEPOMUK_ENTITY_H_
uint qHash(const Entity &c)
Abstract base class for Class and Property;.
QUrl uri() const
The URI of the resource.
Ontology represents one ontology specified using NRL.
The OntologyManager is the central ontology cache handler.
QExplicitlySharedDataPointer< EntityPrivate > d
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.