MCPcopy Create free account
hub / github.com/benapetr/TuxManager / tableSelectionKeyFromProxy

Method tableSelectionKeyFromProxy

src/processeswidget.cpp:797–803  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

795}
796
797QVariant ProcessesWidget::tableSelectionKeyFromProxy(const QModelIndex &proxyKeyIndex) const
798{
799 const QModelIndex srcIdx = this->m_proxy->mapToSource(proxyKeyIndex);
800 if (!srcIdx.isValid())
801 return {};
802 return this->m_model->data(srcIdx, Qt::UserRole);
803}
804
805void ProcessesWidget::copyCellSelectionToClipboard()
806{

Callers

nothing calls this directly

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected