Re: KSNI and actionCollection

2015-06-24 Thread Vladimir Perepechin
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

Re: KSNI and actionCollection

2015-06-24 Thread Vladimir Perepechin
23 июня 2015 г. 8:41 пользователь "Albert Astals Cid" написал: > > El Divendres, 19 de juny de 2015, a les 16:31:34, Vladimir Perepechin va > escriure: > > In times of KDE 4.x actionCollection was returning kactioncollection* and > > it was possible to work with this. > > > > Now actionCollection

Re: KSNI and actionCollection

2015-06-24 Thread Vladimir Perepechin
Ok, sorry for that. I'm not talking about KActionCollection at all. I'm talking about KSNI. in times of KDE4 method actionCollection of KSNI object was returning a KActionCollection. Now, in KF5 it returns

Re: KSNI and actionCollection

2015-06-22 Thread Thomas Lübking
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" написал: ... tsdgeos@xps:~$ ls /usr/include/KF5/KXmlGui/kactioncollection.h /usr/include/

Re: KSNI and actionCollection

2015-06-22 Thread Albert Astals Cid
El Dimarts, 23 de juny de 2015, a les 07:50:49, Vladimir Perepechin va escriure: > 23 июня 2015 г. 8:41 пользователь "Albert Astals Cid" > > написал: > > El Divendres, 19 de juny de 2015, a les 16:31:34, Vladimir Perepechin va > > > > escriure: > > > In times of KDE 4.x actionCollection was ret

Re: KSNI and actionCollection

2015-06-22 Thread Albert Astals Cid
El Divendres, 19 de juny de 2015, a les 16:31:34, Vladimir Perepechin va escriure: > In times of KDE 4.x actionCollection was returning kactioncollection* and > it was possible to work with this. > > Now actionCollection returns QList (but internally it contains > QMap) > > So how should i found

KSNI and actionCollection

2015-06-20 Thread Vladimir Perepechin
In times of KDE 4.x actionCollection was returning kactioncollection* and it was possible to work with this. Now actionCollection returns QList (but internally it contains QMap) So how should i found "quit" action in this list? Why not to return QMap?