<p dir="ltr"><br>
23 июня 2015 г. 8:41 пользователь "Albert Astals Cid" <<a href="mailto:aacid@kde.org">aacid@kde.org</a>> написал:<br>
><br>
> El Divendres, 19 de juny de 2015, a les 16:31:34, Vladimir Perepechin va<br>
> escriure:<br>
> > In times of KDE 4.x actionCollection was returning kactioncollection* and<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>
>       QAction *action(const QString &name) const;<br>
> on the KActionCollection?<br>
></p>
<p dir="ltr">Have you read what i wrote? There is no KActionCollection in kf5.</p>
<p dir="ltr">All you can get is QList with actions.<br>
</p>