KSystemTray

Simon Hausmann hausmann at kde.org
Mon Jul 10 07:21:54 BST 2006


On Monday 10. July 2006 07:43, Stephan Kulow wrote:
> Am Montag, 10. Juli 2006 03:07 schrieb Benjamin Meyer:
> > On Sunday 09 July 2006 9:16 pm, Stephan Kulow wrote:
> > > Hi!
> >
> > [snip]
> >
> > > And if we don't want this patch, then at least KSystemTray should be
> > > consistent in itself and not take a QWidget parent. Because that makes
> > > no sense to me. Either it's a widget or it's none.
> > >
> > > Greetings, Stephan
> >
> > That constructor should have been a QObject to match QSystemTray's
> > constructors, I asked Arron to add it.  Just a typo.
> >
> > http://doc.trolltech.com/4.2/qsystemtrayicon.html
>
> It still doesn't really answer how to port our systray usage. For example
> kmixdockwidget implements mousePressEvent to do something fancy on middle
> click, which is impossible with systemtrayicon afaics.

This appears to be a limitation in the Cocoa NSStatusItem API on OS X, which 
only allows you to set a callback on a single or a double click, independent 
from the mouse buttons.

Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060710/e2cc1e92/attachment.sig>


More information about the kde-core-devel mailing list