Subversion Repositories OpenInventory

Compare Revisions

Ignore whitespace Rev 256 → Rev 257

/trunk/DBViewer/database.cpp
1657,7 → 1657,7
QList<TWmiHDD> hdd_list;
QList<TWmiCDROM> cdrom_list;
QList<TWmiNetCard> netcadr_list;
 
QList<TWmiSoundCard> soundcard_list;
vCard = MainWindow::getWmiVideoGard(IP_str, user_name_str, password_str);
 
if (!vCard.name.isEmpty()) {
1952,27 → 1952,54
 
}
 
}
 
soundcard_list = MainWindow::getWmiSoundCard(IP_str, user_name_str, password_str);
 
if (!soundcard_list.isEmpty()){
QTreeWidgetItem * itm_soundCard_list;
 
itm_soundCard_list = new QTreeWidgetItem(itm_tmp);
itm_soundCard_list->setText(0, tr("Çâóêîâûå êàðòû:"));
 
 
for (int i = 0; i < cdrom_list.count(); i++){
 
QTreeWidgetItem * itm_sound_card;
//QTreeWidgetItem * itm_net_card_mac;
//QTreeWidgetItem * itm_sou_card_cap;
QString tmp_str;
tmp_str = tr("Çâóêîâàÿ êàðòà: ");
tmp_str.append(soundcard_list.at(i).caption);
 
itm_sound_card = new QTreeWidgetItem(itm_soundCard_list);
itm_sound_card->setText(0, tmp_str);
 
 
 
 
ui->treeWidget_3->expandItem( itm_soundCard_list);
 
}
 
 
 
 
 
 
 
}
 
ui->treeWidget_3->expandItem(itm_tmp);
// itm_tmp->setChildIndicatorPolicy(QTreeWidget::
int i;
i++;
 
}
 
} //while
 
 
} //while
 
 
 
}