Use of KMessageBox::warningYesNoforcontinue/cancel questions.
Anders Lund
anders.lund at lund.tdcadsl.dk
Mon Jun 23 08:26:07 BST 2003
On Monday 23 June 2003 01:14, Ingo Klöcker wrote:
> > Three-button questions often makes sense. You can set the strings for
> > the buttons in the constructor:
> > * @param buttonYes The text for the first button.
> > * The default is i18n("&Yes").
> > * @param buttonNo The text for the second button.
> > * The default is i18n("&No").
>
> Obviously one can only change the text of two buttons but not of all
> three buttons.
Right. I don't know why it was designed like that(?), but since the unsettable
button is "Cancel" I think most often you can do what you want.
-anders
More information about the kde-core-devel
mailing list