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

David Faure noreply at phabricator.kde.org
Sun Jan 5 17:58:58 GMT 2020


dfaure added a comment.


  Interesting suggestion. We're used to using names for actions everywhere, but in this specific case an enum would do indeed.
  
  When this is ported away from KActionCollection in the future, one should remember to do action->setObjectName("...") for code that actually wants strings (like KActionCollection).

REPOSITORY
  R241 KIO

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

To: nicolasfella, #frameworks, dfaure
Cc: 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/20200105/39085fc6/attachment.html>


More information about the Kde-frameworks-devel mailing list