2018-09-19 13:19:51 +02:00
|
|
|
#include "sysinfo.h"
|
|
|
|
|
2021-05-13 13:05:05 +02:00
|
|
|
/*!
|
|
|
|
\module ScreenPlaySysInfo
|
|
|
|
\title ScreenPlaySysInfo
|
|
|
|
\brief Module for ScreenPlaySysInfo.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*!
|
|
|
|
\class SysInfo
|
|
|
|
\inmodule ScreenPlaySysInfo
|
|
|
|
\brief .
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2021-05-13 13:35:54 +02:00
|
|
|
/*!
|
|
|
|
* \brief SysInfo::SysInfo
|
|
|
|
*/
|
2019-09-01 12:01:42 +02:00
|
|
|
SysInfo::SysInfo(QQuickItem* parent)
|
|
|
|
: QQuickItem(parent)
|
|
|
|
, m_ram(std::make_unique<RAM>())
|
|
|
|
, m_cpu(std::make_unique<CPU>())
|
2021-05-12 17:09:24 +02:00
|
|
|
, m_gpu(std::make_unique<GPU>())
|
2020-01-12 17:07:05 +01:00
|
|
|
, m_storage(std::make_unique<Storage>())
|
2021-02-13 20:14:10 +01:00
|
|
|
, m_uptime(std::make_unique<Uptime>())
|
2018-09-19 13:19:51 +02:00
|
|
|
{
|
|
|
|
}
|