VCS Interfaces, round 3

Matthew Woehlke mw_triad at users.sourceforge.net
Fri May 4 20:17:14 UTC 2007


Andreas Pakulat wrote:
> On 04.05.07 14:56:42, Matthew Woehlke wrote:
>> Hmm, is VcsAction (currently just an enum) extensible that way?  Or do
>> we need to do something (QFlags?) to make it extensible?
> 
> I think we need to use QFlags, but I have to admit that I don't know how
> these are extended (I didn't yet look into Qt stuff that does this, if
> there is any) and QFlags is used for flags that can be orable most of
> the time.

Clearly I'm not real familiar with QFlags either. :-) Actually, it makes 
sense to have 'edit' or'd with some other actions, e.g. 'merge' and 
'copy'. Right now there are MergeWithEdit and CopyWithEdit explicitly 
listed.

Anyway, we /could/ also just use an int and have VcsActions only as a 
non-limiting list of known actions.

-- 
Matthew
Current geek index: 62%





More information about the KDevelop-devel mailing list