MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / updateConnectionStatus

Function updateConnectionStatus

plugins/base/utils/websocket-tab.cpp:184–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182}
183
184static void updateConnectionStatus(QTableWidget *table)
185{
186 for (int row = 0; row < table->rowCount(); row++) {
187 auto item = table->item(row, 0);
188 if (!item) {
189 continue;
190 }
191
192 auto weakConnection = GetWeakConnectionByQString(item->text());
193 auto connection = weakConnection.lock();
194 if (!connection) {
195 continue;
196 }
197
198 UpdateItemTableRow(table, row,
199 getCellLabels(connection.get(), false));
200 }
201}
202
203static void setupTab(QTabWidget *tab)
204{

Callers 1

setupTabFunction · 0.70

Calls 5

UpdateItemTableRowFunction · 0.85
rowCountMethod · 0.80
getCellLabelsFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected