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

Method watchGetMask

gui/qt/debugger.cpp:1589–1602  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1587}
1588
1589int MainWindow::watchGetMask(int row) {
1590 int mask = 0;
1591 if (static_cast<QAbstractButton *>(m_watchpoints->cellWidget(row, WATCH_READ_COL))->isChecked()) {
1592 mask |= DBG_MASK_READ;
1593 } else {
1594 mask |= DBG_MASK_NONE;
1595 }
1596 if (static_cast<QAbstractButton *>(m_watchpoints->cellWidget(row, WATCH_WRITE_COL))->isChecked()) {
1597 mask |= DBG_MASK_WRITE;
1598 } else {
1599 mask |= DBG_MASK_NONE;
1600 }
1601 return mask;
1602}
1603
1604void MainWindow::watchModified(QTableWidgetItem *item) {
1605 if (item == Q_NULLPTR) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected