Nepomuk
entity.h
Go to the documentation of this file.
QString comment(const QString &language=QString()) const
Entity & operator=(const Entity &)
const Ontology * definingOntology() const
The ontology in which the resource is defined.
Entity(const Entity &)
Entity()
QString label(const QString &language=QString()) const
~Entity()
QIcon icon() const
Retrieve the icon stored for the entity (nao:hasSymbol)
void reset(bool recursive=false)
The Types classes are optimized for performance under the aasumption that ontologies never change dur...
bool operator!=(const QUrl &other) const
Compares the Entity with a URI.
bool operator==(const Entity &other) const
Compares two Entity instances.
QString label(const QString &language=KGlobal::locale() ->language()) const
Retrieve the label of the entity (rdfs:label)
QString label(const QString &language=KGlobal::locale() ->language())
Retrieve the label of the entity (rdfs:label)
QString comment(const QString &language=KGlobal::locale() ->language())
Retrieve the comment of the entity (rdfs:comment)
bool operator!=(const Entity &other) const
Compares two Entity instances.
bool userVisible() const
nao:userVisible can be used to hide certain properties and resources of a certain type from the user.
bool operator==(const QUrl &other) const
Compares the Entity with a URI.
QString comment(const QString &language=KGlobal::locale() ->language()) const
Retrieve the comment of the entity (rdfs:comment)
The Types namespace contains all classes used to handle ontology entities such as classes and propert...
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.