[libnotificationmanager] Port to lighter KProcessList
ClosedPublic

Authored by davidedmundson on Jul 8 2019, 2:14 PM.

Details

Summary

KSysGuard fetches everything you could possibly need from a process.

If we just need a name of a process, we can use the new KProcessList API
in KCoreAddons.

Diff Detail

Repository
R120 Plasma Workspace
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
davidedmundson created this revision.Jul 8 2019, 2:14 PM
Restricted Application added a project: Plasma. · View Herald TranscriptJul 8 2019, 2:14 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
davidedmundson requested review of this revision.Jul 8 2019, 2:14 PM

remove from cmake

broulik requested changes to this revision.EditedJul 8 2019, 2:19 PM
broulik added a subscriber: broulik.

This now returns the entire command line, not just the process name

notify-send foo bar -a "" should say just "notify-send"

This revision now requires changes to proceed.Jul 8 2019, 2:19 PM
broulik accepted this revision.Jul 31 2019, 12:32 PM

With D22471 does what it should

This revision is now accepted and ready to land.Jul 31 2019, 12:32 PM
This revision was automatically updated to reflect the committed changes.