Nepomuk
#include <QtCore/QString>
#include <QtCore/QList>
#include "variant.h"
#include "nepomuk_export.h"
#include <soprano/node.h>
#include <kdemacros.h>
Go to the source code of this file.
◆ 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 |
( |
| ) |
|
◆ naoNamespace()
QString Nepomuk::naoNamespace |
( |
| ) |
|
◆ nrlNamespace()
QString Nepomuk::nrlNamespace |
( |
| ) |
|
◆ 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 & |
| ) |
|
Used internally by Resource.
Converts a non-list Variant into a Soprano::Node.
- Deprecated:
- Use Nepomuk::Varaint::toNode()
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jan 26 2021 00:00:00 by
doxygen 1.9.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.