VcsJob question and suggestion

Andreas Pakulat apaku at gmx.de
Tue May 29 19:17:50 UTC 2007


On 29.05.07 13:49:36, Matthew Woehlke wrote:
> dukju ahn wrote:
> > What if  other plain actions such as commit() add(), copy(), ??
> > Is it worth for them to implement fetchResults() ?? I don't think so.
> > Only retrieving FinishStatus would be sufficient for them.
> 
> We could have it return null, or perhaps have VcsJob and VcsJobEx (bad 
> names, can't think of anything better ATM), where the latter subclasses 
> the former (but is still an interface) and adds fetchResults. Opinions? 
> Other suggestions?

All wrong :) Thats where QVariant::invalid() is really helpful, just
return QVariant() when the job doesn't have a result value.

Andreas

-- 
You have had a long-term stimulation relative to business.




More information about the KDevelop-devel mailing list