DtkDevice
DTK library for device.
dmotherboarddevice.h
1// SPDX-FileCopyrightText: 2022 UnionTech Software Technology Co., Ltd.
2//
3// SPDX-License-Identifier: LGPL-3.0-or-later
4#ifndef DMOTHERBOARDDEVICE_H
5#define DMOTHERBOARDDEVICE_H
6
7#include "dtkdevice_global.h"
8
9#include <QObject>
10
11DDEVICE_BEGIN_NAMESPACE
12
13class DMotherboardDevicePrivate;
14class LIBDTKDEVICESHARED_EXPORT DMotherboardDevice : public QObject
15{
16public:
17 explicit DMotherboardDevice(QObject *parent = nullptr);
19
20 QString vendor();
21 QString model();
22 QString date();
23 QString serialNumber();
24 QString biosInformation();
27
28 QString temperature();
29
30private:
31 QScopedPointer<DMotherboardDevicePrivate> d_ptr;
32 Q_DECLARE_PRIVATE(DMotherboardDevice)
33};
34
35DDEVICE_END_NAMESPACE
36
37#endif // DMOTHERBOARDDEVICE_H
主板设备信息.
Definition: dmotherboarddevice.h:15
QString PhysicalMemoryArrayInformation()
获取主板的内存插槽信息.
QString biosInformation()
获取主板的BIOS信息.
QString temperature()
获取主板的温度.
QString date()
获取主板的日期.
QString chassisInformation()
获取主板的机箱信息.
QString serialNumber()
获取主板的序列号.
QString vendor()
获取主板的厂商.
QString model()
获取主板的型号.