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

List:       kde-panel-devel
Subject:    Re: Extender api review, round 2
From:       Rob Scheepmaker <r.scheepmaker () student ! utwente ! nl>
Date:       2008-07-29 16:54:22
Message-ID: 200807291854.22907.r.scheepmaker () student ! utwente ! nl
[Download RAW message or body]

On Tuesday 29 July 2008 18:38:55 Aaron J. Seigo wrote:
> in Extender i found myself thinking "maybe it would feel more natural if
> instead of Extender::extenderItems it was just Extender::items..." and then
> i got to the signals which are just itemAdded and itemRemoved =) so perhaps
> change all the "extenderItem"s to "item"s in Extender's API.

that makes sense... and it's a lot shorter :)

> ExtenderItem::setExpirationTimeWhenAttached could be
> ExtenderItem::setAutoExpireDelay? setAutoExpireTime?

I think I'll go for setAutoExpireDelay.
>
> ExtenderItem::collapsed should be isCollapsed

true.

> i like how the impact on Applet is now so minimal, clean and obvious! =)

me too, this is actually a lot better then it was.

> as for multiple extenders per-Applet, let's just stick with one for now i
> think. we can learn how they get used and move on from there.
>
> one final note, adding a new virtual to Applet makes libplasma BIC... hm..
> i'll start a new thread about that issue actually...

Hmm, I was under the impression that bic would only be guaranteed after 4.2?

> > Oh and another question, does anybody know if there's any way to
> > determine if a top level QWidget is in front of another top level
> > QWidget? Because to make drag & drop reliable, there really should be a
> > way to determine which plasma view is on top at a specific location. And
> > QApplication::topLevelAt won't do, since while dragging, there might be a
> > graphicsView under the mouse cursor when dragging from view to view.
>
> KWindowSystem::stackingOrder gives you the current window stacking order.

Excellent, thanks :)
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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