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

Vishesh Handa handa.vish at gmail.com
Sun Feb 19 20:36:50 UTC 2012


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

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/20120219/057dcb00/attachment.html>


More information about the Nepomuk mailing list