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

Method headerData

ui/attachprocess.cpp:112–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110
111
112QVariant ProcessListModel::headerData(int column, Qt::Orientation orientation, int role) const
113{
114 if (role != Qt::DisplayRole)
115 return QVariant();
116
117 if (orientation == Qt::Vertical)
118 return QVariant();
119
120 switch (column)
121 {
122 case ProcessListModel::PidColumn:
123 return "PID";
124 case ProcessListModel::ProcessNameColumn:
125 return "Name";
126 }
127 return QVariant();
128}
129
130
131void ProcessListModel::updateRows(std::vector<DebugProcess> processList)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected