KSNI and actionCollection

Albert Astals Cid aacid at kde.org
Mon Jun 22 22:41:17 BST 2015


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?

Cheers,
  Albert

> Why not to return QMap?





More information about the kde-core-devel mailing list