Projects/Nepomuk/ResourceWatcher: Difference between revisions

From KDE TechBase
(Created page with "Use the ResourceWatcher - http://api.kde.org/4.x-api/kdelibs-apidocs/nepomuk-core/html/classNepomuk2_1_1ResourceWatcher.html")
 
No edit summary
Line 1: Line 1:
Use the ResourceWatcher - http://api.kde.org/4.x-api/kdelibs-apidocs/nepomuk-core/html/classNepomuk2_1_1ResourceWatcher.html
Quite often one needs to be notified when some data changes in Nepomuk. This can be done with the help of the [http://api.kde.org/4.x-api/kdelibs-apidocs/nepomuk-core/html/classNepomuk2_1_1ResourceWatcher.html ResourceWatcher]. It can be used to watch any subset of resources, properties and types. Please read its documentation for more details.
 
The [http://api.kde.org/4.x-api/kdelibs-apidocs/nepomuk-core/html/classNepomuk2_1_1Resource.html Resource] class internally uses the ResourceWatcher in order to keep its cache up to date.

Revision as of 07:26, 23 August 2012

Quite often one needs to be notified when some data changes in Nepomuk. This can be done with the help of the ResourceWatcher. It can be used to watch any subset of resources, properties and types. Please read its documentation for more details.

The Resource class internally uses the ResourceWatcher in order to keep its cache up to date.