D26424: [kdiroperator] Add method for accessing actions without KActionCollection

Méven Car noreply at phabricator.kde.org
Mon Jan 6 21:01:00 GMT 2020


meven added inline comments.

INLINE COMMENTS

> dhaumann wrote in kdiroperator.h:428
> Imho the API documentation should be improved (I am aware it was copied).
> 
>   Returns a map of all available actions. The action map remains unchanged throughout the entire lifetime of the diroperator instance.
>   
>   The key of the map can be used to obtain the respective action. The full list of available actions is as follows:
>   
>   - popupMenu: ...
>   - up: ...

Personally I would add an enum of static strings, so that user code can discover easily the features and that the documentation follows the code more easily.

REPOSITORY
  R241 KIO

REVISION DETAIL
  https://phabricator.kde.org/D26424

To: nicolasfella, #frameworks, dfaure
Cc: meven, dhaumann, aacid, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200106/853999f3/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list