[RFC] Using KPassivePopup from KSystrayIcon
Alessandro Praduroux
pradu at pradu.it
Thu Mar 29 10:21:43 BST 2007
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?
--
http://www.pradu.it/
pradu at pradu.it
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kpassivepopup.patch
Type: text/x-diff
Size: 8419 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070329/b3162c99/attachment.patch>
More information about the kde-core-devel
mailing list