KSNI and actionCollection

Thomas Lübking thomas.luebking at gmail.com
Mon Jun 22 23:30:13 BST 2015

On Dienstag, 23. Juni 2015 00:06:13 CEST, Albert Astals Cid wrote:
> El Dimarts, 23 de juny de 2015, a les 07:50:49, Vladimir Perepechin va 
> escriure:
>> 23 июня 2015 г. 8:41 пользователь "Albert Astals Cid" <aacid at kde.org>
>> написал: ...
> tsdgeos at xps:~$ ls /usr/include/KF5/KXmlGui/kactioncollection.h 
> /usr/include/KF5/KXmlGui/kactioncollection.h
> Yes, there is KActionCollection.


Despite this could become a funny discussion, his problem is that KStatusNotifierItem turned the map between action index key and action private - you can get all actions, but not the keys that index them, nor an action for an index.

a) are you sure you need direct access to the quit action (hint: if you wanted to remove it in order to enable standard actions, the answer is "no")
b) file a bug against frameworks-knotifications and ask for a public "QAction *action(const QString index) const" member to KStatusNotifierItem


More information about the kde-core-devel mailing list