> 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
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to