Hi,

is the above possible?
QSystemTrayIcon shows a nice tooltip when the mouse hovers over the tray icon.
However, it's the currently played song on a mpd (music player daemon).
I need to query the mpd each time the mouse hovers over the icon.

So far I could not make the eventFilter example in Qt 4.5.2 work:

*.h
bool eventFilter( QObject *obj, QEvent *ev );

*.cpp
bool xxxx::eventFilter( QObject *obj, QEvent *event )
{
cout << "eventFilter(): reached ! " << endl; // debug
if( event->type() == QEvent::HoverEnter ) {
emit sigSendCmd( xy ); // this will query the mpd
}
}

Seems, that I do not catch the mouse hover event at all.
The cout never triggers.

Any ideas?
Is it possible to get the mouse hover enter event with a SystemTrayIcon?
QSystemTrayIcon is based on QObject directly, but the damn tooltip is shown on mouse over...

Help much appreciated,
alan