D26935: context: add function to allow loading and unloading modules

Bhushan Shah noreply at phabricator.kde.org
Mon Jan 27 12:22:53 GMT 2020


bshah added a comment.


  > unloadModule should work with a Module* given the rest of the API deals with them rather than their index I think
  
  Yes, it does indeed make sense, maybe I can add a another signature of unloadModule which takes Module* as argument.
  
  > I was about to say something similar. Where would one get the index from?
  
  From moduleAdded signal, one can query that, but I just realized that we are not exporting id in Module* ... meh

REPOSITORY
  R994 Pulseaudio Qt Bindings

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

To: bshah, sitter, nicolasfella
Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200127/8c74d169/attachment-0001.html>


More information about the Plasma-devel mailing list