[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: KAboutDialog/KAboutData/KHelpMenu
From:       Mirko Sucker <mirko.sucker () unibw-hamburg ! de>
Date:       2000-03-26 13:52:29
[Download RAW message or body]

Espen Sand wrote:
> 
> On Sat, 25 Mar 2000, Michael van der Westhuizen wrote:
> >
> > Hi All,
> >
> > Maybe I'm not seeing something here, but where is the integration
> > between these classes? They all deal with related or similar
> > information, but it seems a developer has to:
> >
> > Create the appropriate KAboutData
> 
> This should be done in main() regardless of the solution. Have a look in kedit
> for a simple example.
> 
> > Create the appropriate KAboutDialog
> > Connect the showAboutApplication signal of KHelpMenu to a slot to show
> > his about dialog.
> >
> > Surely it makes more sense for:
> >
> > KHelpMenu to use KAboutDialog directly.
> 
> Yep, the task was handed over to another person (from me). Search in this
> list for more info.
> 
> > KAboutDialog to use KAboutData directly (this is blatantly missing)
This is simple because KAboutDialog was there before KAboutData. 
But to be able to use other features of KAboutDialog (like showing
additional contributors),
a method should be added to KTMainWindow that handles over a pointer to
the dialog object to customize it directly before calling exec().
--Mirko.
-- 
Denn der  Mensch  liebt und ehrt den  Menschen,  solange er ihn
nicht zu beurteilen vermag, und die Sehnsucht ist ein Erzeugnis
mangelhafter Erkenntnis. (Thomas Mann)

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic