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

Function getCellLabels

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

Source from the content-addressed store, hash-verified

109}
110
111static QStringList getCellLabels(WSConnection *connection, bool addName = true)
112{
113 assert(connection);
114
115 auto result = QStringList();
116 if (addName) {
117 result << QString::fromStdString(connection->Name());
118 }
119 result << QString::fromStdString(connection->GetURI())
120 << QString::number(connection->GetPort())
121 << formatProtocolUsageText(connection);
122 return result;
123}
124
125static void openSettingsDialog()
126{

Callers 3

WSConnectionsTableMethod · 0.70
updateConnectionStatusFunction · 0.70
setupTabFunction · 0.70

Calls 4

formatProtocolUsageTextFunction · 0.85
NameMethod · 0.45
GetURIMethod · 0.45
GetPortMethod · 0.45

Tested by

no test coverage detected