| 1238 | } |
| 1239 | |
| 1240 | int MainWindow::portGetMask(int row) { |
| 1241 | unsigned int mask = 0; |
| 1242 | if (static_cast<QAbstractButton *>(m_ports->cellWidget(row, PORT_READ_COL))->isChecked()) { |
| 1243 | mask |= DBG_MASK_PORT_READ; |
| 1244 | } |
| 1245 | if (static_cast<QAbstractButton *>(m_ports->cellWidget(row, PORT_WRITE_COL))->isChecked()) { |
| 1246 | mask |= DBG_MASK_PORT_WRITE; |
| 1247 | } |
| 1248 | if (static_cast<QAbstractButton *>(m_ports->cellWidget(row, PORT_FREEZE_COL))->isChecked()) { |
| 1249 | mask |= DBG_MASK_PORT_FREEZE; |
| 1250 | } |
| 1251 | return mask; |
| 1252 | } |
| 1253 | |
| 1254 | void MainWindow::portModified(QTableWidgetItem *item) { |
| 1255 | if (item == Q_NULLPTR) { |
nothing calls this directly
no outgoing calls
no test coverage detected