Nepomuk
§ ErrorCode
Enumerator |
---|
NoError | |
CommunicationError | A communication error, i.e.
connection failure
|
InvalidType | |
UnknownError | |
Definition at line 45 of file resource.h.
§ convertResourceList() [1/2]
template<typename T >
QList<T> Nepomuk::convertResourceList |
( |
const QList< Resource > & |
l | ) |
|
Used internally by Resource.
Convert a list of resources to a list of Ts where T needs to be a subclass of Resource.
- Returns
- A list containing all resources in
l
represented as a T.
Definition at line 58 of file tools.h.
§ convertResourceList() [2/2]
template<typename T >
QList<Resource> Nepomuk::convertResourceList |
( |
const QList< T > & |
l | ) |
|
Used internally by Resource.
Convert a list of Ts to a list of Resources where T needs to be a subclass of Resource.
- Returns
- A list containing all resources in
l
.
Definition at line 73 of file tools.h.
§ defaultGraph()
QString Nepomuk::defaultGraph |
( |
| ) |
|
§ errorString()
QString Nepomuk::errorString |
( |
ErrorCode |
code | ) |
|
- Returns
- A human-readble string.
§ extractNamespace()
QUrl Nepomuk::extractNamespace |
( |
const QUrl & |
url | ) |
|
§ naoNamespace()
QString Nepomuk::naoNamespace |
( |
| ) |
|
§ nrlNamespace()
QString Nepomuk::nrlNamespace |
( |
| ) |
|
§ qHash()
uint Nepomuk::qHash |
( |
const Resource & |
res | ) |
|
§ RDFLiteralToValue()
Variant Nepomuk::RDFLiteralToValue |
( |
const Soprano::Node & |
node | ) |
|
§ rdfNamepace()
QString Nepomuk::rdfNamepace |
( |
| ) |
|
§ rdfsNamespace()
QString Nepomuk::rdfsNamespace |
( |
| ) |
|
- Deprecated:
- Use Soprano::Vocabulary::RDFS::rdfsNamepace()
§ setDefaultRepository()
void Nepomuk::setDefaultRepository |
( |
const QString & |
s | ) |
|
§ typePredicate()
QString Nepomuk::typePredicate |
( |
| ) |
|
§ valuesToRDFNodes()
QList<Soprano::Node> Nepomuk::valuesToRDFNodes |
( |
const Variant & |
| ) |
|
Used internally by Resource.
Converts a Variant into a literal value to be used in the RDF store.
- Deprecated:
- Use Nepomuk::Varaint::toNodeList()
§ valueToRDFNode()
Soprano::Node Nepomuk::valueToRDFNode |
( |
const Variant & |
| ) |
|
This file is part of the KDE documentation.
Documentation copyright © 1996-2018 The KDE developers.
Generated on Sun Jun 3 2018 13:14:31 by
doxygen 1.8.12 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.