23 июня 2015 г. 8:41 пользователь "Albert Astals Cid" <aa...@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.