MCPcopy Create free account
hub / github.com/KDE/kdevelop / lessThan

Method lessThan

kdevplatform/debugger/variable/variablesortmodel.cpp:19–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19bool VariableSortProxyModel::lessThan(const QModelIndex &left, const QModelIndex &right) const
20{
21 const QString leftString = sourceModel()->data(left).toString();
22 const QString rightString = sourceModel()->data(right).toString();
23 int result = m_collator.compare(leftString, rightString);
24 return result < 0;
25}
26
27}
28

Callers

nothing calls this directly

Calls 3

toStringMethod · 0.45
dataMethod · 0.45
compareMethod · 0.45

Tested by

no test coverage detected