MCPcopy Create free account
hub / github.com/Vector35/debugger / operator<

Method operator<

ui/attachprocess.cpp:41–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39
40
41bool ProcessItem::operator<(const ProcessItem& other) const
42{
43 if (m_pid < other.pid())
44 return true;
45 else if (m_pid > other.pid())
46 return false;
47 return m_processName < other.processName();
48}
49
50
51ProcessListModel::ProcessListModel(QWidget* parent) : QAbstractTableModel(parent) {}

Callers

nothing calls this directly

Calls 2

pidMethod · 0.80
processNameMethod · 0.80

Tested by

no test coverage detected