[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: kpanelapplet API problem
From: Matthias Ettrich <ettrich () trolltech ! com>
Date: 2000-10-12 7:51:08
[Download RAW message or body]
Thursday 12 October 2000 11:37 wrote Matthias Elter:
> On Thursday 12 October 2000 11:35, Matthias Ettrich wrote:
> > The KPanelApplet API lacks a change handler
> > virtual void popupDirectionChange( Direction );
> >
> > It used to be there, but now it's gone. Instead, we are using an ugly
> > hack with a resizeEvent(0).
> >
> > Adding this handler breaks binary compatibility, but makes writing
> > applets significantly less hacky.
>
> It's "hacky" but works perfect and is transparent for the applet authors.
> All they have to worry about is the resizeEvent. But I don't have a
I agree. For many applets just taking care of resize is the right thing to
do. That's why we always should fake a (proper) QResizeEvent on orientation
changes.
For applets that want to use layout management, it's not sufficient, though.
Matthias
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic