[RFC] Using KPassivePopup from KSystrayIcon

Lubos Lunak l.lunak at suse.cz
Thu Mar 29 15:08:47 BST 2007


On Thursday 29 of March 2007, Alessandro Praduroux wrote:
> Since QSystemTrayIcon does not derive from QWidget, it is not possible to
> call the static ::message methods of KPassivePopup from a tray icon handler
> and have the passive popup displayed near the tray area.
>
> since Qt 4.3 introduced the geometry() method to QSystemTrayIcon, it is now
> possible to correctly place the KPassivePopup.
>
> I implemented the needed new static methods in KPassivePopup accepting a
> QSystemTrayIcon * instead of a QWidget.
>
> Patch attached, AFAICT doesn't even break BC, is it ok to commit?

 How about if KPassivePopup got rather moved to KNotify and apps stopped using 
it directly?

-- 
Lubos Lunak
KDE developer
--------------------------------------------------------------
SUSE LINUX, s.r.o.   e-mail: l.lunak at suse.cz , l.lunak at kde.org
Lihovarska 1060/12   tel: +420 284 028 972
190 00 Prague 9      fax: +420 284 028 951
Czech Republic       http//www.suse.cz




More information about the kde-core-devel mailing list