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

List:       kde-core-devel
Subject:    Re: RFC: KPanelApplet
From:       Simon Hausmann <shaus () helios ! Med ! Uni-Magdeburg ! DE>
Date:       2000-06-01 20:35:32
[Download RAW message or body]



On Thu, 1 Jun 2000, Dirk Mueller wrote:

> On Don, 01 Jun 2000, Simon Hausmann wrote:
> 
> > As signals? You mean stuff the applet implements should be done as
> > signal? (or: kicker connects an internal signal to an applet slot?)
> 
> No, you got me wrong :)

Ooops :-}

> KPanelApplet "actions" are the context-menu items like "Help", "About",
> "Preferences" etc. Whenever the user selects such a function, the apropiate
> virtual function is called. This is inconvenient and - more important - new
> context-menu entries will break binary compatibility. therefore IMHO
> whenever such an item is selected by the user, the KPanelApplet class should
> simply emit a signal the applet can connect to. 

Ah, this sounds like a cool idea!

<random idea from someone lacking knowledge about kicker>
Another way would probably be to let the KPanelApplet implementation
provide a list of KAction objects. That would allow kicker to find the
help, about and preferences actions by name and additionally allow the
applet to insert custom menu items.
But this is probably too much overhead.
</random idea>

Bye,
 Simon

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

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