KMessage/KMessageHandler: a core/ui seperation for displaying message.

Olivier Goffart ogoffart at kde.org
Sun May 28 23:11:05 BST 2006


Le Dimanche 28 Mai 2006 22:28, Michaël Larouche a écrit :
> Le May 28, 2006 14:35, Olivier Goffart a écrit :

> > I'd add that K*MessageHandler should not even be public API
> >
> > maybe
> > KGlobal::setDefaultMessageHandler( enum{ StdErr, MessageBox, PassivePopup
> > } ) or something similair
>
> No, the goal is for applications to develop their own KMessageHandler, I
> don't want to limit them.

I agree with that of course,   but you shouldn't expose the message box and 
kpassive popup handler to public api.

> > - Another feature that can be usefull (specially for information message
> > box) is the "don't show again"
>
> Then use KMessageBox directly.

The point of this class is precisely to handle cases where KMessageBox is not 
possible. 

-------------- 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/20060529/4b78f080/attachment.sig>


More information about the kde-core-devel mailing list