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

Method lessThan

kdevplatform/project/projectproxymodel.cpp:23–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23bool ProjectProxyModel::lessThan(const QModelIndex & left, const QModelIndex & right) const
24{
25 KDevelop::ProjectBaseItem *iLeft=projectModel()->itemFromIndex(left), *iRight=projectModel()->itemFromIndex(right);
26 if(!iLeft || !iRight) return false;
27
28 return( iLeft->lessThan( iRight ) );
29}
30
31void ProjectProxyModel::showTargets(bool visible)
32{

Callers

nothing calls this directly

Calls 1

itemFromIndexMethod · 0.45

Tested by

no test coverage detected