[Nepomuk] Review Request: DMS MergeResource: Inform the ResourceWatcher Manager about the changes

Sebastian Trueg sebastian at trueg.de
Tue Sep 4 14:00:35 UTC 2012



> On Sept. 4, 2012, 1:21 p.m., Sebastian Trueg wrote:
> > services/storage/datamanagementmodel.cpp, line 1937
> > <http://git.reviewboard.kde.org/r/106324/diff/2/?file=83493#file83493line1937>
> >
> >     Do you really remove the oldValue?
> 
> Vishesh Handa wrote:
>     It's useful to update the Resource cache. Plus, merge resource isn't a function that would be called that often, so the performance doesn't matter that much.

I was actually asking if this is correct since the last parameter of changeProperty is the removed values.


- Sebastian


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/106324/#review18500
-----------------------------------------------------------


On Sept. 4, 2012, 12:18 p.m., Vishesh Handa wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/106324/
> -----------------------------------------------------------
> 
> (Updated Sept. 4, 2012, 12:18 p.m.)
> 
> 
> Review request for Nepomuk and Sebastian Trueg.
> 
> 
> Description
> -------
> 
>     We should inform the Resource Watcher Manager when merging resources, so
>     that it can inform the interested parties.
>     
>     Also added a unit test to check if the signals are being emitted.
> 
> 
> Diffs
> -----
> 
>   services/storage/datamanagementmodel.cpp 69c046d 
>   services/storage/test/qtest_dms.cpp cc4ed07 
>   services/storage/test/resourcewatchertest.cpp 8a38a9c 
> 
> Diff: http://git.reviewboard.kde.org/r/106324/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Vishesh Handa
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/nepomuk/attachments/20120904/34666915/attachment.html>


More information about the Nepomuk mailing list