MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / foreach

Function foreach

gui/qt/tablewidget.cpp:28–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26 insertRow(newrow);
27 int oldrow = items.first()->row();
28 foreach(QTableWidgetItem *item, items) {
29 int col = item->column();
30 takeItem(oldrow, col);
31 setItem(newrow, col, item);
32 setCellWidget(newrow, col, cellWidget(oldrow, col));
33 }
34
35 removeRow(oldrow);
36 if (oldrow <= newrow) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected