KSNI and actionCollection

Vladimir Perepechin vovochka13 at gmail.com
Mon Jun 22 22:50:49 BST 2015


23 июня 2015 г. 8:41 пользователь "Albert Astals Cid" <aacid at kde.org>
написал:
>
> 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<QAction*> (but internally it contains
> > QMap)
> >
> > So how should i found "quit" action in this list?
>
> Call
>       QAction *action(const QString &name) const;
> on the KActionCollection?
>

Have you read what i wrote? There is no KActionCollection in kf5.

All you can get is QList with actions.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20150623/d6c7bf6f/attachment.htm>


More information about the kde-core-devel mailing list