Review Request 121831: libksysguard: process.h: encapsulate private fields

Gregor Mi codestruct at
Mon Jan 12 14:24:01 GMT 2015

This is an automatically generated e-mail. To reply, visit:

(Updated Jan. 12, 2015, 2:24 p.m.)

Review request for KDE Base Apps and John Tapsell.


In process.h the class Process is declared Q_DECL_EXPORT. Is libksysguard used somewhere else except in ksysguard? I ask because the public API would change. In ksysguard the change has no impact, as far as I can see.

Summary (updated)

libksysguard: process.h: encapsulate private fields

Repository: libksysguard


In process.h there are several public fields. I propose to encapsulate the private fields with getter methods. I implemented it exemplary for the fields 'login', 'uid' and 'euid'.

(In a separate commit I would add the .reviewboardrc file)


  processcore/process.h 85a3a13388c44f768040dbc6602ab3211edd5b21 
  .reviewboardrc PRE-CREATION 
  processcore/processes_linux_p.cpp 0cff0e8b407a087dc29f755b12ea3d784ba34e6a 
  processui/ProcessFilter.cpp ec520593fb67c777d56817f2493d40dc5ade0347 
  processui/ProcessModel.cpp 3acf52b92f4a8ca054d88aad1ec6b31f4a31f297 
  processui/scripting.h 2445c0ab0d81af3283c0f6e9c5f349a3d70b0de9 
  processcore/process.cpp 190f4902fa6f3bae2d8b60dbf1a43be71beb1820 



Compiles and runs. Data is still shown. No error.


Gregor Mi

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the kde-core-devel mailing list