Nepomuk-Core
datagenerator.cpp
Go to the documentation of this file.
46 DataGenerator::DataGenerator()
52 DataGenerator::~DataGenerator()
99 QUrl DataGenerator::createMusicFile(const QString& title, const QString& artistName, const QString& albumName)
StoreResourcesJob * save(const KComponentData &component=KGlobal::mainComponent()) const
Save the graph to the Nepomuk database.
Definition: simpleresourcegraph.cpp:284
void setProperty(const QUrl &property, const QVariant &value)
Set a property overwriting existing values.
Definition: simpleresource.cpp:186
Represents a snapshot of one Nepomuk resource.
Definition: simpleresource.h:46
bool contains(const QUrl &property) const
Definition: simpleresource.cpp:160
void addProperty(const QUrl &property, const QVariant &value)
Add a property.
Definition: simpleresource.cpp:206
QList< SimpleResource > toList() const
Definition: simpleresourcegraph.cpp:192
QHash< QUrl, QUrl > mappings() const
Definition: storeresourcesjob.cpp:78
void addType(const QUrl &type)
A convenience method which adds a property of type rdf:type.
Definition: simpleresource.cpp:257
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.