<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Dec 31, 2013 at 12:42 PM, Martin Graesslin <span dir="ltr"><<a href="mailto:mgraesslin@kde.org" target="_blank">mgraesslin@kde.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Tuesday 31 December 2013 12:15:09 David Faure wrote:<br>
> > QSystemTrayIcon => KNotificationItem<br>
><br>
> No clue. I can't even find KNotificationItem in KF5 anywhere.... !?!?<br>
> In fact it doesn't exist in kdelibs4 either.<br>
><br>
> I think it got replaced with KStatusNotifierItem since 4.4 ?<br>
> That one is still valid in KF5 (framework "knotifications").<br>
> I have no idea if/why it means QSystemTrayIcon is bad though.<br>
</div>QSystemTrayIcon uses XEmbed which is bad by definition ;-)<br>
<br>
We have discussed this in the plasma team and think that the best solution<br>
would be to extend QSystemTrayIcon to use the status notifier API if available.<br>
Might need some hooks into the QPA as we probably cannot depend on D-Bus on<br>
that level. But as that doesn't exist yet, at the moment the proper suggestion<br>
should be to use KStatusNotifierItem.<br>
<br>
Cheers<br>
<span class="HOEnZb"><font color="#888888">Martin</font></span></blockquote></div><br></div><div class="gmail_extra">FWIW, our QPA (or QPT, actually) already depends on QtDBus.</div><div class="gmail_extra"><br></div><div class="gmail_extra">

Aleix</div></div>