Review Request: KMemoryInfo: system memory query

Pino Toscano pino at
Sat Jan 9 23:18:47 GMT 2010

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

Review request for kdelibs.


KMemoryInfo is a small class used to query the OS requesting the memory (RAM) information available.
It is possible to selectively choose which information request.
The implementations provided so far are for Linux and Windows; more OSes can easily be added later.
The (so far small) unit test should help assuring the implementation for the current OS is sane.

Possible users interested by this: okular and gwenview (which currently have basically the same code), and maybe ksysguard/processcore, superkaramba, kio_sysinfo, and kinfocenter (once KMemoryInfo reaches the number of OS implementation kinfocenter has).


  /trunk/KDE/kdelibs/kdecore/CMakeLists.txt 1072277 
  /trunk/KDE/kdelibs/kdecore/tests/CMakeLists.txt 1072277 
  /trunk/KDE/kdelibs/kdecore/tests/kmemoryinfotest.cpp PRE-CREATION 
  /trunk/KDE/kdelibs/kdecore/util/kmemoryinfo.h PRE-CREATION 
  /trunk/KDE/kdelibs/kdecore/util/kmemoryinfo.cpp PRE-CREATION 
  /trunk/KDE/kdelibs/kdecore/util/kmemoryinfo_linux.cpp PRE-CREATION 
  /trunk/KDE/kdelibs/kdecore/util/kmemoryinfo_win.cpp PRE-CREATION 



The small unit test pass, an example application as well.



More information about the kde-core-devel mailing list