Nepomuk rocks - Use case on Dolphin
Peter Penz
peter.penz at gmx.at
Fri Jun 22 08:02:55 BST 2007
On Thursday 21 June 2007 21:30:34 David Faure wrote:
> On Thursday 21 June 2007, Rafael Fernández López wrote:
> > You can find the patches for kdelibs and kdebase/apps/dolphin at:
> >
> > http://media.ereslibre.es/2007/06/kdelibs-21062007.diff
>
> I don't see the need for KDirModel::resourceForIndex, which makes libkio
> link to nepomuk. This method takes 2 lines, and isn't used internally in
> kdirmodel, so why not just call those two lines from dolphin? It's all
> public API:
> KFileItem* item = myDirModel->itemForIndex( index );
> Nepomuk::Resource res( item->url().url(), Nepomuk::NFO::File() );
Thanks David. I agree and will check with Rafael to have a solution just
within Dolphin...
Best regards,
Peter
More information about the kde-core-devel
mailing list