3 !!!!! this file will be included by info.cpp !!!!!
6 /* all following functions should return true, when the Information
7 was filled into the lBox-Widget.
8 returning false indicates, that information was not available.
11 #include <sys/systeminfo.h>
13 bool GetInfo_CPU(QListView
*lBox
) {
17 sysinfo(SI_ARCHITECTURE
, buf
, sizeof(buf
));
18 str
= QString::fromLocal8Bit(buf
);
19 new QListViewItem(lBox
, str
);
23 bool GetInfo_IRQ(QListView
*) {
27 bool GetInfo_DMA(QListView
*) {
31 bool GetInfo_PCI(QTreeWidget
*) {
35 bool GetInfo_IO_Ports(QListView
*) {
39 bool GetInfo_Sound(QListView
*) {
43 bool GetInfo_Devices(QListView
*) {
47 bool GetInfo_SCSI(QListView
*) {
51 bool GetInfo_Partitions(QListView
*) {
55 bool GetInfo_XServer_and_Video(QListView
*lBox
) {
56 return GetInfo_XServer_Generic(lBox
);