View Full Version : KDE4- system tray notification like kNEmo (establish connection), Ark (progress), etc

26th November 2009, 21:53

I need to notify user with some messages - popup in system tray. In KDE4, there are many programs, that use this, for example:
- KNemo when new connection is established
- Kopete when new message is received
- Ark - archive pack/unpack progress

What QT/KDE libs clas should I use to implement this?

26th November 2009, 22:41
Have you looked at QSystemTrayIcon?

27th November 2009, 07:57
Do you mean QSystemTrayIcon::showMessage ? No, I haven't try this but I'm not sure if this is what I'm looking for. For example, Konqueror displays progress bar when file is downloading, and this is not tray icon related (there is no Konqueror tray icon - the message apperas next to tray icons area)

And I can't see any QSystemTrayIcon method, that allow me to display progress bar...

29th November 2009, 07:24
The download notifications like that are done in KDE4s library called KIO. and the other is KNotifications.