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

Method sort

src/RedisView/Model/ValueTableModel.cpp:187–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185}
186
187void ValueTableModel::sort(int column, Qt::SortOrder order) {
188 QList<QPersistentModelIndex> indexs;
189 indexs << QModelIndex();
190 emit layoutAboutToBeChanged(indexs, QAbstractItemModel::VerticalSortHint);
191 rootItem->sort(column, order);
192 emit layoutChanged(indexs, QAbstractItemModel::VerticalSortHint);
193}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected