MCPcopy Create free account
hub / github.com/altairwei/WizNotePlus / operator<

Method operator<

src/WizMessageListView.cpp:1442–1452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1440}
1441
1442bool WizSenderSelectorItem::operator<(const QListWidgetItem& other) const
1443{
1444 const WizSenderSelectorItem* pOther = dynamic_cast<const WizSenderSelectorItem*>(&other);
1445
1446 if (m_id.isEmpty())
1447 return true;
1448 if (pOther->itemID().isEmpty())
1449 return false;
1450 //
1451 return WizToolsSmartCompare(m_text, pOther->itemText()) < 0;
1452}
1453
1454void WizClickableLabel::mouseReleaseEvent(QMouseEvent* ev)
1455{

Callers

nothing calls this directly

Calls 4

WizToolsSmartCompareFunction · 0.85
isEmptyMethod · 0.80
itemIDMethod · 0.80
itemTextMethod · 0.45

Tested by

no test coverage detected