| 44 | |
| 45 | |
| 46 | bool BreakpointItem::operator<(const BreakpointItem& other) const |
| 47 | { |
| 48 | if (m_enabled < other.enabled()) |
| 49 | return true; |
| 50 | else if (m_enabled > other.enabled()) |
| 51 | return false; |
| 52 | else if (m_location < other.location()) |
| 53 | return true; |
| 54 | else if (m_location > other.location()) |
| 55 | return false; |
| 56 | return m_address < other.address(); |
| 57 | } |
| 58 | |
| 59 | |
| 60 | DebugBreakpointsListModel::DebugBreakpointsListModel(QWidget* parent, ViewFrame* view) : |