diff options
author | Bernd Weimer <bernd.weimer@pelagicore.com> | 2019-05-13 16:47:18 +0200 |
---|---|---|
committer | Bernd Weimer <bernd.weimer@pelagicore.com> | 2019-05-21 09:48:27 +0200 |
commit | 7d861e1dc723e55f019804ac4b15d7287bd54780 (patch) | |
tree | e7ce92f844a6f2a8c58d65ae8ef8dae707d66088 /src/monitor-lib | |
parent | 8bc64e234c7a7cfef5b14d98a9859c0d33846a24 (diff) | |
download | qtapplicationmanager-7d861e1dc723e55f019804ac4b15d7287bd54780.tar.gz |
Fix and enhance documentation
Change-Id: I571bacc6da00fcb53d45b27dac04cac0d19d34c0
Reviewed-by: Kavindra Palaraja <kpalaraja@luxoft.com>
Diffstat (limited to 'src/monitor-lib')
-rw-r--r-- | src/monitor-lib/cpustatus.cpp | 4 | ||||
-rw-r--r-- | src/monitor-lib/processstatus.cpp | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/src/monitor-lib/cpustatus.cpp b/src/monitor-lib/cpustatus.cpp index dde21cac..d192781d 100644 --- a/src/monitor-lib/cpustatus.cpp +++ b/src/monitor-lib/cpustatus.cpp @@ -98,8 +98,8 @@ CpuStatus::CpuStatus(QObject *parent) \qmlproperty real CpuStatus::cpuLoad \readonly - The CPU utilization when update() was last called, as a value ranging from 0 (inclusive, completely - idle) to 1 (inclusive, fully busy). + Holds the overall system's CPU utilization at the point when update() was last called, as a + value ranging from 0 (inclusive, completely idle) to 1 (inclusive, fully busy). \sa CpuStatus::update */ diff --git a/src/monitor-lib/processstatus.cpp b/src/monitor-lib/processstatus.cpp index de80064c..89ab9b56 100644 --- a/src/monitor-lib/processstatus.cpp +++ b/src/monitor-lib/processstatus.cpp @@ -160,8 +160,12 @@ void ProcessStatus::update() /*! \qmlproperty string ProcessStatus::applicationId - \l{ApplicationObject::id}{Id} of the \l{ApplicationObject}{application} whose process is to - be monitored. + Holds the \l{ApplicationObject::id}{ID} of the \l{ApplicationObject}{application} whose process + is to be monitored. This ID must be one that is known to the application-manager + (\l{ApplicationManager::applicationIds}{applicationIds()} provides a list of valid IDs). There + is one exception: if you want to monitor the System UI's process, set the ID to an empty + string. In single-process mode, the System UI process is the only valid process, since all + applications run within this process. \sa ApplicationObject */ |