Projects/Nepomuk/ResourceWatcher: Difference between revisions

From KDE TechBase
No edit summary
No edit summary
Line 1: Line 1:
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.
<languages />
<translate>
 
== The Resource Watcher ==
 
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.
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.
[[Category:Documentation]]
[[Category:Development]]
[[Category:Tutorials]]
</translate>

Revision as of 11:57, 11 December 2012


The Resource Watcher

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.