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

List:       kde-devel
Subject:    helpMenu -> KTMainWindow  [Re: KAboutBox in KApp?]
From:       Espen Sand <espen.sand () neo ! no>
Date:       1999-10-21 9:25:28
[Download RAW message or body]

I think the obvious place to move the KApplication::helpMenu()
it to KTMainWindow since it already deals with menubars etc.

The KApplication::helpMenu() should then return an empty menu
and also write some porting help to stdout to ease the transition. I assume 
the KApplication::aboutKDE() and KApplication::aboutApp() will have to 
remain although one can make static methods KTMainWindow that do 
the same. The new dialogs will be modeless.

If nobody think this is really bad I will make the changes this evening.



On tor, 21 okt 1999, Stephan Kulow wrote:
>David Faure wrote:
>> 
>> > Careful now before any work is duplicated ;)
>> >
>> > I have completed an "About KDE" dialog box that should replace
>> > the current one in KApplication::gethelpMenu(). The reason
>> > why I have not
>> > comitted it yet is that i don't really know how/if this will break
>> > any library dependence. The dialog box code uses kdeui stuff
>> > (KAboutDialog)
>> >
>> > DOES ANYBODY KNOW HOW TO SOLVE THIS? Can KApplication use
>> > code from kdeui?
>> 
>> No, but why does this help menu thing have to be in KApplication ?
>> Some applications have no menus at all (kioslaves, kfmclient, kded...).
>> I would rather see that help menu thing in kdeui.
>> 
>> > If no, then "getHelpMenu()" should either be moved or I have
>> > to duplicate quite a lot of code.
>> I would say move.
>> 
>> It's UI, really. It shouldn't be in kdecore.
>> 
>There is a  lot more than that in KApp that is UI and should be moved.
>The icon stuff, the theme stuff, etc. I'm pro moving, but I'm a bit
>clueless where to :)
>
>Greetings, Stephan
>
>-- 
>As long as Linux remains a religion of freeware fanatics,
>Microsoft have nothing to worry about.  
>                       By Michael Surkan, PC Week Online
-- 
Espen Sand, Research Scientist 
Norsk Elektro Optikk A/S, http://www.neo.no   
+47 67 91 11 54 (+47 67 97 47 00)

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

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