MCPcopy Create free account
hub / github.com/Cubitect/cubiomes-viewer / operator<

Method operator<

src/tabstructures.cpp:22–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20public:
21 TreeIntItem(QTreeWidget *parent = nullptr) : QTreeWidgetItem(parent) {}
22 bool operator< (const QTreeWidgetItem& x) const
23 {
24 int col = treeWidget()->sortColumn();
25 if (col == C_SEED)
26 return data(col, Qt::UserRole).toLongLong() < x.data(col, Qt::UserRole).toLongLong();
27 return QTreeWidgetItem::operator< (x);
28 }
29};
30
31void AnalysisStructures::run()

Callers

nothing calls this directly

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected