KDialogBase: User1? No?

Frans Englich frans.englich at telia.com
Mon Mar 8 01:12:27 GMT 2004


On Monday 08 March 2004 01:53, Zack Rusin wrote:
> On Sunday 07 March 2004 19:45, Frans Englich wrote:
> > Check enum ButtonCode in kdialogbase. It got these:
> >     User1   = 0x00000080,
> >     No      = 0x00000080,
> >
> > ?
>
> I'm assuming somewhere in here there should be a question... It's a
> "feature". User1 is a synonym for No, while User2 for Yes.

Ah ok. So if someone have Or'd User1 but did not pass a KGuiItem it defaults 
to No. That is a definitely a feature in quotes AFAICT, since it most likely 
is not what the user of the API wanted to achieve.

Thanks,

		Frans





More information about the kde-core-devel mailing list