[VCSIface] Difference between VcsEvent and VcsItemEvent
Andreas Pakulat
apaku at gmx.de
Thu May 10 00:01:53 UTC 2007
On 08.05.07 11:09:08, Matthew Woehlke wrote:
> Andreas Pakulat wrote:
> > On 08.05.07 10:19:08, Matthew Woehlke wrote:
> >> Andreas Pakulat wrote:
> >>> On 07.05.07 19:22:50, Matthew Woehlke wrote:
> >>>> Btw I dropped actions() from VcsChange, is that OK? I don't see how an
> >>>> 'overall action' really makes that much sense, especially not for log()
> >>>> as opposed to change(). Anyway it only existed as an accident on my part
> >>>> to begin with. (I guess I'm only asking because I noticed you had
> >>>> written doc for it.)
> >>> Well, it could be nice to know what was changed in a change without
> >>> having to iterate of the itemevent list.
> >> Hmm... well, it could be an or'd mask of all actions.
> >
> > This already exists, the actions are now QFlags and thus any combination
> > of them can exist.
>
> Ok, I'll re-add actions()... eventually we need to doc the individual
> getters. For some reason I am remembering that VcsActions was "QFlag,
> *NOT* QFlags", but I can't find that now, so it must have either changed
> or I am misremembering what that comment applied to.
No, we talked about the diff-type and the revision-type to be extendable
and thus maybe use QFlag for it. But I didn't look into that yet...
And I think the Q_DECLARE_FLAGS for the mapping type should be removed.
Unless I'm totally mistaken an enum is extendable too
Andreas
--
Fine day to work off excess energy. Steal something heavy.
More information about the KDevelop-devel
mailing list