On Fri, Jul 6, 2012 at 6:06 PM, laurent Montel <[email protected]> wrote:

> Hi Vishesh
>
> I want to port kdepim trunk to nepomuk-core and "Nepomuk::Tag::allTags()"
> What function I must use now ?
>

Well, I can provide an allTags function if you want. The reason I'd removed
it was cause it was blocking, and the number of tags could be quite high.
One should ideally be using an asynchronous query for the tags (maybe via
the QueryServiceClient)

Then again, listing all the tags is such a common operation that maybe we
should be providing it.

@Sebastian: What do you think?


>
> Thanks :)
> Regards
>
>   foreach( const Nepomuk::Tag &tag, Nepomuk::Tag::allTags() ) {
>     mParameterList.append( tag.label() );
>     mLabelList.append( tag.resourceUri().toString() );
>   }
>
> --
> Laurent Montel | [email protected] | KDE/Qt Senior Software Engineer
> KDAB (France) S.A.S., a KDAB Group company
> Tel. France +33 (0)4 90 84 08 53, Sweden (HQ) +46-563-540090
> KDAB - Qt Experts - Platform-independent software solutions
>
_______________________________________________
Nepomuk mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/nepomuk

Reply via email to