[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nepomuk
Subject:    Re: [Nepomuk] Activities and desktop events - Results from the
From:       Ivan Čukić <ivan.cukic () kde ! org>
Date:       2010-08-03 19:17:14
Message-ID: AANLkTinSV6BioNeE6Hz=eeFxBLzVfgxJPj5zq83+Ze=T () mail ! gmail ! com
[Download RAW message or body]

> standardQuery( ResourcesForActivityQuery, ResourceTerm(activity) )
> &&
> standardQuery( ResourcesForApplicationQuery, ResourceTerm(app) )
> &&
> standardQuery( MostImportantResourcesQuery )

Ok, works for me.


> how so? and which approach is better? Adding dedicated methods for all

The only thing I have against it is that we are limited to one
parameter - it gets a bit dirty if at some point we decide we need to
have standard queries with more params*.

Otherwise, I'm completely satisfied.


Cheerio,
Ivan

* it could probably be done via varargs or something if needed...

--
While you were hanging yourself on someone else's words
Dying to believe in what you heard
I was staring straight into the shining sun
_______________________________________________
Nepomuk mailing list
Nepomuk@kde.org
https://mail.kde.org/mailman/listinfo/nepomuk
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic