D28367: KServiceAction: store parent service

Vlad Zahorodnii noreply at phabricator.kde.org
Fri Jul 4 14:59:55 BST 2025


zzag added a comment.


  In D28367#691880 <https://phabricator.kde.org/D28367#691880>, @dfaure wrote:
  
  > Hmm, turn `KServicePtr m_service;` into a raw pointer? Not sure the action can outlive its parent service?
  
  
  Not sure about it either. Given the current API, you can pass KServiceAction around and be able to access the corresponding KService.

REPOSITORY
  R309 KService

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

To: dfaure, broulik, davidedmundson
Cc: zzag, kde-frameworks-devel, liuyanjikde, LeGast00n, cblack, michaelh, ahmadsamir, ngraham, bruns, vkrause
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20250704/2d9f27a0/attachment.htm>


More information about the Kde-frameworks-devel mailing list