| 619 | } |
| 620 | |
| 621 | QVariant MemWatchModel::headerData(int section, Qt::Orientation orientation, int role) const |
| 622 | { |
| 623 | if (orientation == Qt::Horizontal && role == Qt::DisplayRole) |
| 624 | { |
| 625 | switch (section) |
| 626 | { |
| 627 | case WATCH_COL_LABEL: |
| 628 | return tr("Name"); |
| 629 | case WATCH_COL_TYPE: |
| 630 | return tr("Type"); |
| 631 | case WATCH_COL_ADDRESS: |
| 632 | return tr("Address"); |
| 633 | case WATCH_COL_VALUE: |
| 634 | return tr("Value"); |
| 635 | case WATCH_COL_LOCK: |
| 636 | return tr("Lock"); |
| 637 | default: |
| 638 | break; |
| 639 | } |
| 640 | } |
| 641 | return {}; |
| 642 | } |
| 643 | |
| 644 | Qt::DropActions MemWatchModel::supportedDropActions() const |
| 645 | { |
nothing calls this directly
no outgoing calls
no test coverage detected