KSNI and actionCollection
vovochka13 at gmail.com
Mon Jun 22 23:37:22 BST 2015
Thanks for answer, Thomas.
I just what to disconnect standard action and to connect it to my slot.
It's the most common case, because from the box KSNI ALWAYS asks quit or
not before on "Exit" press.
And many apps connects "quit" triggering to a custom slots...
But i don't see how it can be done with current KSNI.
I'll file a bug :)
On Tue, Jun 23, 2015 at 8:30 AM, Thomas Lübking <thomas.luebking at gmail.com>
> 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
>>> 23 июня 2015 г. 8:41 пользователь "Albert Astals Cid" <aacid at kde.org>
>>> написал: ...
>> tsdgeos at xps:~$ ls /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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the kde-core-devel