Nepomuk
resourcemanager.h
Go to the documentation of this file.
180 KDE_DEPRECATED QList<Resource> allResourcesWithProperty( const QString& uri, const Variant& v );
270 void slotPropertyAdded(const Nepomuk::Resource &res, const Nepomuk::Types::Property &prop, const QVariant &value);
271 void slotPropertyRemoved(const Nepomuk::Resource &res, const Nepomuk::Types::Property &prop, const QVariant &value);
QList< Resource > allResourcesWithProperty(const QUrl &uri, const Variant &v)
Retrieve a list of all resources that have property uri defined with a value of v.
QString generateUniqueUri()
static ResourceManager * createManagerForModel(Soprano::Model *model)
Create a new ResourceManager instance which uses model as its override model.
QList< Resource > allResourcesOfType(const QString &type)
void clearCache()
ResourceManager caches resource locally so subsequent access is faster.
bool initialized() const
void resourceModified(const QString &uri)
This signal gets emitted whenever a Resource changes due to a sync procedure.
void nepomukSystemStarted()
Emitted once the Nepomuk system is up and can be used.
void notifyError(const QString &uri, int errorCode)
void error(const QString &uri, int errorCode)
Whenever a problem occurs (like for example failed resource syncing) this signal is emitted.
void setOverrideMainModel(Soprano::Model *model)
Override the main model used for all storage.
Soprano::Model * mainModel()
Retrieve the main data storage model.
QUrl generateUniqueUri(const QString &label)
Generates a unique URI that is not used in the store yet.
QList< Resource > allResourcesWithProperty(const QString &uri, const Variant &v)
static ResourceManager * instance()
void deleteInstance()
In KDE 4.3 support for multiple ResourceManager instances has been introduced.
void removeResource(const QString &uri)
Remove the resource denoted by uri completely.
void nepomukSystemStopped()
Emitted once the Nepomuk system goes down.
Definition: nepomukservice.h:25
The ResourceManager is the central Nepomuk configuration point.
Definition: resourcemanager.h:56
Resource createResourceFromUri(const QString &uri)
A property is a resource of type rdf:Property which relates a domain with a range.
Definition: property.h:53
The Nepomuk Variant extends over QVariant by introducing direct support for Resource embedding,...
Definition: variant.h:66
QList< Resource > allResourcesOfType(const QUrl &type)
Retrieve a list of all resources of the specified type.
QList< Resource > allResources()
Retrieve a list of all resource managed by this manager.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Aug 27 2020 00:00:00 by doxygen 1.8.20 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Aug 27 2020 00:00:00 by doxygen 1.8.20 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.