D20007: Add GetProcessList for retrieving the list of currently active processes

David Edmundson noreply at phabricator.kde.org
Tue Mar 26 20:46:53 GMT 2019


davidedmundson added a comment.


  These two should make the unit tests windows compatible (untested)

INLINE COMMENTS

> kprocesslisttest.cpp:38
> +{
> +    struct passwd *pwdEntry = getpwuid(uid);
> +    if (pwdEntry == nullptr) {

KUser::KUser()

(fortunately it's in kcoreaddons!)

> kprocesslisttest.cpp:52
> +{
> +    return getpid();
> +}

qint64 QCoreApplication::applicationPid()

REPOSITORY
  R244 KCoreAddons

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

To: hallas, davidedmundson, broulik
Cc: vonreth, adridg, elvisangelaccio, kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190326/3a745972/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list