KProcessList Namespace
Header: | #include <KProcessList> |
CMake: | find_package(KF6 REQUIRED COMPONENTS CoreAddons) target_link_libraries(mytarget PRIVATE KF6::CoreAddons) |
Classes
(since 5.58) class | KProcessInfo |
Types
Functions
(since 5.58) KProcessList::KProcessInfo | processInfo(qint64 pid) |
(since 5.58) KProcessList::KProcessInfoList | processInfoList() |
Detailed Description
Type Documentation
KProcessList::KProcessInfoList
Function Documentation
[since 5.58]
KProcessList::KProcessInfo KProcessList::processInfo(qint64 pid)
Retrieves process information for a specific process-id. If the process is not found a KProcessInfo with isValid == false will be returned.
pid The process-id to retrieve information for.
This function was introduced in 5.58.
[since 5.58]
KProcessList::KProcessInfoList KProcessList::processInfoList()
Retrieves the list of currently active processes.
This function was introduced in 5.58.