| 52 | |
| 53 | |
| 54 | bool DebugRegisterItem::operator<(const DebugRegisterItem& other) const |
| 55 | { |
| 56 | if (m_name < other.name()) |
| 57 | return true; |
| 58 | else if (m_name > other.name()) |
| 59 | return false; |
| 60 | else if (m_value < other.value()) |
| 61 | return true; |
| 62 | else if (m_value > other.value()) |
| 63 | return false; |
| 64 | else if (m_valueStatus < other.valueStatus()) |
| 65 | return true; |
| 66 | else if (m_valueStatus > other.valueStatus()) |
| 67 | return false; |
| 68 | else if (m_hint < other.hint()) |
| 69 | return true; |
| 70 | else if (m_hint > other.hint()) |
| 71 | return false; |
| 72 | return m_used < other.used(); |
| 73 | } |
| 74 | |
| 75 | |
| 76 | DebugRegistersListModel::DebugRegistersListModel(QWidget* parent, DebuggerControllerRef controller, ViewFrame* view) : |
nothing calls this directly
no test coverage detected