Nepomuk
resourcewatcher.h
Go to the documentation of this file.
259 void resourceCreated( const Nepomuk::Resource & resource, const QList<QUrl>& types ); //FIXME: Use either Resource or uri, not a mix
void propertyRemoved(const Nepomuk::Resource &resource, const Nepomuk::Types::Property &property, const QVariant &value)
This signal is emitted when a property value is removed.
void propertyChanged(const Nepomuk::Resource &resource, const Nepomuk::Types::Property &property, const QVariantList &oldValue, const QVariantList &newValue)
This signal is emitted when a property value is changed.
void resourceTypeRemoved(const Nepomuk::Resource &res, const Types::Class &type)
This signal is emitted when a type has been removed from a resource.
void addProperty(const Types::Property &property)
Add a property to be watched.
void propertyAdded(const Nepomuk::Resource &resource, const Nepomuk::Types::Property &property, const QVariant &value)
This signal is emitted when a property value is added.
int resourceCount() const
Return the number of resources that are being watched.
void setResources(const QList< Nepomuk::Resource > &resources_)
Set the resources to be watched.
Selectively monitor the nepomuk repository for changes.
Definition: resourcewatcher.h:78
void resourceTypeAdded(const Nepomuk::Resource &res, const Types::Class &type)
This signal is emitted when a type has been added to a resource.
void resourceRemoved(const QUrl &uri, const QList< QUrl > &types)
This signal is emitted when a resource is deleted.
A property is a resource of type rdf:Property which relates a domain with a range.
Definition: property.h:52
void setProperties(const QList< Types::Property > &properties_)
Set the properties to be watched.
QList< Types::Class > types() const
The types that have been configured via addType() and setTypes().
void removeType(const Types::Class &type)
Remove a type to be watched.
void resourceCreated(const Nepomuk::Resource &resource, const QList< QUrl > &types)
This signal is emitted when a new resource is created.
void setTypes(const QList< Types::Class > &types_)
Set the types to be watched.
void removeResource(const Nepomuk::Resource &res)
Remove a resource to be watched.
void removeProperty(const Types::Property &property)
Remove a property to be watched.
int typeCount() const
Return the number of types that are being watched.
int propertyCount() const
Return the number of properties that are being watched.
QList< Types::Property > properties() const
The properties that have been configured via addProperty() and setProperties().
QList< Nepomuk::Resource > resources() const
The resources that have been configured via addResource() and setResources().
ResourceWatcher(QObject *parent=0)
Create a new ResourceWatcher instance.
void addResource(const Nepomuk::Resource &res)
Add a resource to be watched.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:02 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:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.