Revision b14af76...
Go back to digest for 26th February 2012Features in KDE Base
Vishesh Handa committed changes in [kde-runtime] nepomuk/services/storage/lib/simpleresourcegraph.cpp:
Automatically set the uri when using SimpleResourceGraph::operator[]
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() );
File Changes
Modified 1 files
- nepomuk/services/storage/lib/simpleresourcegraph.cpp
1 files changed in total