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);
The ResourceManager is the central Nepomuk configuration point.
Definition: resourcemanager.h:56
QList< Resource > allResources()
Retrieve a list of all resource managed by this manager.
void error(const QString &uri, int errorCode)
Whenever a problem occurs (like for example failed resource syncing) this signal is emitted.
Resource createResourceFromUri(const QString &uri)
QList< Resource > allResourcesOfType(const QUrl &type)
Retrieve a list of all resources of the specified type.
QList< Resource > allResourcesWithProperty(const QString &uri, const Variant &v)
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.
void removeResource(const QString &uri)
Remove the resource denoted by uri completely.
static ResourceManager * createManagerForModel(Soprano::Model *model)
Create a new ResourceManager instance which uses model as its override model.
void resourceModified(const QString &uri)
This signal gets emitted whenever a Resource changes due to a sync procedure.
void deleteInstance()
In KDE 4.3 support for multiple ResourceManager instances has been introduced.
QList< Resource > allResourcesOfType(const QString &type)
QUrl generateUniqueUri(const QString &label)
Generates a unique URI that is not used in the store yet.
QString generateUniqueUri()
Soprano::Model * mainModel()
Retrieve the main data storage model.
void setOverrideMainModel(Soprano::Model *model)
Override the main model used for all storage.
void clearCache()
ResourceManager caches resource locally so subsequent access is faster.
void nepomukSystemStopped()
Emitted once the Nepomuk system goes down.
bool initialized() const
void nepomukSystemStarted()
Emitted once the Nepomuk system is up and can be used.
void notifyError(const QString &uri, int errorCode)
static ResourceManager * instance()
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
Definition: nepomukservice.h:25
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.