void QHexPanel::install() { int index = cbinstallTo->currentIndex(); CpcXXXX *pc = (CpcXXXX *) cbinstallTo->itemData(index).toString().toULongLong(); emit installTo(pc,startadr,hexeditor->data()); // QDataStream in(hexeditor->data()); // in.readRawData ((char *) &pc->mem[startadr],hexeditor->data().size() ); // QMessageBox::about(this,"Transfert",tr("LM stored at %1").arg(startadr)); }
void QHexPanel::install() { int index = cbinstallTo->currentIndex(); CpcXXXX *pc = (CpcXXXX *) cbinstallTo->itemData(index).toString().toULongLong(); quint32 _adr = startadr; if (!leTargetAdr->text().isEmpty()) { _adr = leTargetAdr->text().toULong(0,16); } emit installTo(pc,_adr,hexeditor->data()); // QDataStream in(hexeditor->data()); // in.readRawData ((char *) &pc->mem[startadr],hexeditor->data().size() ); // QMessageBox::about(this,"Transfert",tr("LM stored at %1").arg(startadr)); }