Projects/Nepomuk/ResourceWatcher: Difference between revisions

From KDE TechBase
No edit summary
(Marked this version for translation)
Line 2: Line 2:
<translate>
<translate>


== The Resource Watcher ==
== The Resource Watcher == <!--T:1-->


<!--T:2-->
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.
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.


<!--T:3-->
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.


<!--T:4-->
[[Category:Documentation]]
[[Category:Documentation]]
[[Category:Development]]
[[Category:Development]]
[[Category:Tutorials]]
[[Category:Tutorials]]
</translate>
</translate>

Revision as of 14:08, 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.