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

David Faure faure at kde.org
Mon May 29 14:45:33 BST 2006


On Monday 29 May 2006 14:22, Olivier Goffart wrote:
> Le Lundi 29 Mai 2006 12:15, David Faure a écrit :
> > On Sunday 28 May 2006 20:35, Olivier Goffart wrote:
> > > maybe
> > > KGlobal::setDefaultMessageHandler( enum{ StdErr, MessageBox, PassivePopup
> > > } ) or something similair
> >
> > This breaks the whole idea of core/gui separation: KGlobal is (and will
> > stay) in kdecore, so you can't create gui handlers from there.
> 
> Ineed,
> then KApplication::setMessageHandler

To choose between messagebox and passivepopup? Sounds ok, as long as
one of them is set by the KApplication ctor in any case (so that most apps
don't have to care).

> (KApplication is going to be in kdeui, right ?)

Yes.

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).





More information about the kde-core-devel mailing list