--Boundary-02=_MPd9+kBHuZvnvpq Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 20 June 2003 19:39, Aaron J. Seigo wrote: > On Friday 20 June 2003 10:53, Waldo Bastian wrote: > > Konqueror should use warningContinueCancel in the cases that you > > changed, and if that doesn't give the desired result then > > warningContinueCancel should be adjusted. > > hrm... as per our recent IRC chat, how about the attached patch? this > would allow the application to tell KMessageBox if the action is > "dangerous" and should therefore be protected by safer defaults, > allow applications to use the "proper" KMessageBox variants, and not > alter the current default behaviour nor add any new methods to > KMessageBox... Isn't that a little bit to special? Wouldn't it be better to add a=20 defaultButton parameter? Or do you fear that this would lead to=20 inconsistent usage of those dialogs because every developer would=20 choose the default according to his own gusto instead of only changing=20 the predefined default only if it's really appropriate (i. e. in case=20 of destructive actions)? On a related issue: Does anyone object against adding three-button=20 message boxes to KMessageBox? We need those in KMail. Currently we are=20 using QMessageBox which allows three buttons with arbitrary text and=20 arbitrary default button. The arbitrary default button is probably not=20 that important. IMO always the first button should be the default=20 button. But the arbitrary button text is important and therefore the=20 YesNoCancel message boxes can't be used. Furthermore the QMessageBoxes=20 return (by default) -1 in case the user aborted the message box with=20 Esc or by closing the window instead of selecting one of the buttons. Regards, Ingo --Boundary-02=_MPd9+kBHuZvnvpq Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3rc1 (GNU/Linux) iD8DBQA+9dPMGnR+RTDgudgRAsp9AKDi3psqQn9DWiI0D3cBJEf1QoGxOgCgqxZs shLuwJ+oFdNJBcj4oeSWvhE= =Ww8B -----END PGP SIGNATURE----- --Boundary-02=_MPd9+kBHuZvnvpq--