Don't show again queuedMessageBox.
Waldo Bastian
bastian at kde.org
Sun Oct 17 16:06:42 BST 2004
On Sunday 17 October 2004 16:53, Olivier Goffart wrote:
> That's because queuedMessageBox doesn't have yet the possibility to have a
> dontshowagain checkbox.
>
> A first solution could be to simply adding it. This has already been
> proposed in the past:
> http://lists.kde.org/?l=kde-core-devel&m=103391899322489&w=2 but it seems
> it's not so simple (quoting Ingo Kloeker in
> http://lists.kde.org/?l=kde-core-devel&m=103393796702428&w=2)
>
> > I realized why a queuedMessageBox doesn't have dontAskAgainName
> > parameter. The reason is that the state of this checkbox will be
> > checked directly after the dialog is put in the dialog queue and not
> > when the dialog is closed by the user. In order to make a "Don't ask
> > again" checkbox work in a queuedMessageBox we would have to derive a
> > class from KDialogBase which saves the state of the checkbox in it's
> > d'tor. That should be done sometime but probably not now.
I guess now is a good time to do that, one way or the other. One way to do it
would be by pushing the dontaskagain handling upwards to KDialogBase.
Cheers,
Waldo
--
bastian at kde.org | SUSE LINUX 9.2: Order now! | bastian at suse.com
http://www.suse.de/us/private/products/suse_linux/preview/index.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20041017/3cf11a30/attachment.sig>
More information about the kde-core-devel
mailing list