MCPcopy Create free account
hub / github.com/Vector35/debugger / headerData

Method headerData

ui/breakpointswidget.cpp:140–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138
139
140QVariant DebugBreakpointsListModel::headerData(int column, Qt::Orientation orientation, int role) const
141{
142 if (role != Qt::DisplayRole)
143 return QVariant();
144
145 if (orientation == Qt::Vertical)
146 return QVariant();
147
148 switch (column)
149 {
150// case DebugBreakpointsListModel::EnabledColumn:
151// return "Enabled";
152 case DebugBreakpointsListModel::LocationColumn:
153 return "Location";
154 case DebugBreakpointsListModel::AddressColumn:
155 return "Remote Address";
156 }
157 return QVariant();
158}
159
160
161void DebugBreakpointsListModel::updateRows(std::vector<BreakpointItem> newRows)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected