MCPcopy Create free account
hub / github.com/cc20110101/RedisView / sort

Method sort

src/RedisView/Model/ValueTableItem.cpp:137–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137void ValueTableItem::sort(int column, Qt::SortOrder order) {
138 globalColumn = column;
139 if(order == Qt::AscendingOrder)
140 std::sort(childItems.begin(),childItems.end(),compareTableItemAsc);
141 else
142 std::sort(childItems.begin(),childItems.end(),compareTableItemDesc);
143}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected