KClasses vs. Qt5Classes

Kevin Krammer krammer at kde.org
Thu Jan 2 21:54:03 GMT 2014

On Tuesday, 2013-12-31, 12:42:22, Martin Graesslin wrote:
> On Tuesday 31 December 2013 12:15:09 David Faure wrote:
> > > QSystemTrayIcon => KNotificationItem
> > 
> > No clue. I can't even find KNotificationItem in KF5 anywhere.... !?!?
> > In fact it doesn't exist in kdelibs4 either.
> > 
> > I think it got replaced with KStatusNotifierItem since 4.4 ?
> > That one is still valid in KF5 (framework "knotifications").
> > I have no idea if/why it means QSystemTrayIcon is bad though.
> QSystemTrayIcon uses XEmbed which is bad by definition ;-)
> We have discussed this in the plasma team and think that the best solution
> would be to extend QSystemTrayIcon to use the status notifier API if
> available. Might need some hooks into the QPA as we probably cannot depend
> on D-Bus on that level. But as that doesn't exist yet, at the moment the
> proper suggestion should be to use KStatusNotifierItem.

I faintly remember a discussion where it was deemed acceptable for QtWidgets 
to depend on QtDBus on Linux.
But it makes more sense to do it in the QPA in any case,  because this is 
where lots of the other plaform UI integration bits already went (native 
dialogs, menus, etc).

Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20140102/6fd4ec1a/attachment.sig>

More information about the kde-core-devel mailing list