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

Method GetQoS

plugins/mqtt/topic-selection.cpp:103–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103std::vector<int> MqttTopicListWidget::GetQoS()
104{
105 std::vector<int> result;
106 for (int i = 0; i < _table->rowCount(); ++i) {
107 bool isValidInt = false;
108 int qos = _table->item(i, 1)->text().toInt(&isValidInt);
109 result.push_back(isValidInt ? qos : 1);
110 }
111 return result;
112}
113
114void MqttTopicListWidget::AddTopic()
115{

Callers 2

AskForSettingsMethod · 0.80
TestConnectionMethod · 0.80

Calls 1

rowCountMethod · 0.80

Tested by 1

TestConnectionMethod · 0.64