<div dir="ltr">Ok, sorry for that.<div><br></div><div>I'm not talking about KActionCollection at all.</div><div>I'm talking about KSNI.</div><div><br></div><div>in times of KDE4 method actionCollection of KSNI object was returning a KActionCollection.</div><div>Now, in KF5 <a href="http://api.kde.org/frameworks-api/frameworks5-apidocs/knotifications/html/classKStatusNotifierItem.html#a99cf9800c6d54c2afa81a0ac55b653ee">it returns</a> QList.</div><div><br></div><div>KActionCollection isn't used in current knotifications lib.</div><div><br></div><div><div>vovochka:~/projects/knotifications/src> grep -i kactioncollection *</div><div>vovochka:~/projects/knotifications/src></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 23, 2015 at 8:06 AM, Albert Astals Cid <span dir="ltr"><<a href="mailto:aacid@kde.org" target="_blank">aacid@kde.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">El Dimarts, 23 de juny de 2015, a les 07:50:49, Vladimir Perepechin va<br>
escriure:<br>
<div><div class="h5">> 23 июня 2015 г. 8:41 пользователь "Albert Astals Cid" <<a href="mailto:aacid@kde.org">aacid@kde.org</a>><br>
><br>
> написал:<br>
> > El Divendres, 19 de juny de 2015, a les 16:31:34, Vladimir Perepechin va<br>
> ><br>
> > escriure:<br>
> > > In times of KDE 4.x actionCollection was returning kactioncollection*<br>
><br>
> and<br>
><br>
> > > it was possible to work with this.<br>
> > ><br>
> > > Now actionCollection returns QList<QAction*> (but internally it contains<br>
> > > QMap)<br>
> > ><br>
> > > So how should i found "quit" action in this list?<br>
> ><br>
> > Call<br>
> ><br>
> >       QAction *action(const QString &name) const;<br>
> ><br>
> > on the KActionCollection?<br>
><br>
> Have you read what i wrote? There is no KActionCollection in kf5.<br>
<br>
</div></div>tsdgeos@xps:~$ ls /usr/include/KF5/KXmlGui/kactioncollection.h<br>
/usr/include/KF5/KXmlGui/kactioncollection.h<br>
<br>
Yes, there is KActionCollection.<br>
<br>
You may want to be a bit more precise, and don't tell me to read what you<br>
wrote, i did and i gave you an answer, if you're rude I will probably ignore<br>
your email next time.<br>
<br>
Best Regards,<br>
  Albert<br>
<div class="HOEnZb"><div class="h5"><br>
><br>
> All you can get is QList with actions.<br>
<br>
</div></div></blockquote></div><br></div>