Revision aac3507...
Go back to digest for 29th January 2012Bug Fixes in KDE Base
Sebastian Trueg committed changes in [nepomuk-core/storage/resourceWatcherTest] /storage:
Fixed property watching by type.
This commit combines two things as they were too connected to be splitted:
- The ResourceWatcherManager now queries the types of the resources if
there are connections which watch by type.
- The changeProperty method now also takes care of emitting the added
and removed signals which avoids a lot of code duplication and simply
makes sense.
File Changes
Modified 4 files
- /storage
- services/datamanagementmodel.cpp
- services/resourcewatchermanager.cpp
- services/resourcewatchermanager.h
- services/test/resourcewatchertest.cpp
4 files changed in total