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