[Nepomuk] Review Request: Automatically set the uri when using SimpleResourceGraph::operator[]

Sebastian Trueg sebastian at trueg.de
Mon Feb 20 10:31:10 UTC 2012


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

Ship it!


And please make sure to port it everywhere. :)

- Sebastian Trueg


On Feb. 19, 2012, 8:36 p.m., Vishesh Handa wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/104027/
> -----------------------------------------------------------
> 
> (Updated Feb. 19, 2012, 8:36 p.m.)
> 
> 
> Review request for Nepomuk and Sebastian Trueg.
> 
> 
> Description
> -------
> 
> It's more intuitive this way. One can do stuff like -
> 
> SimpleResourceGraph graph;
> graph[someUri].setProperty( NIE::url(), url() );
> 
> Instead of -
> 
> SimpleResourceGraph graph;
> graph[someUri].setUri( someUri );
> graph[someUri].setProperty( NIE::url(), url() );
> 
> 
> Diffs
> -----
> 
>   libnepomukcore/datamanagement/simpleresourcegraph.cpp 95cc647 
> 
> Diff: http://git.reviewboard.kde.org/r/104027/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Vishesh Handa
> 
>

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


More information about the Nepomuk mailing list