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

Method GetTopics

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

Source from the content-addressed store, hash-verified

91}
92
93std::vector<std::string> MqttTopicListWidget::GetTopics()
94{
95 std::vector<std::string> result;
96 for (int i = 0; i < _table->rowCount(); ++i) {
97 auto topic = _table->item(i, 0)->text().trimmed();
98 result.push_back(topic.toStdString());
99 }
100 return result;
101}
102
103std::vector<int> MqttTopicListWidget::GetQoS()
104{

Callers 2

AskForSettingsMethod · 0.80
TestConnectionMethod · 0.80

Calls 1

rowCountMethod · 0.80

Tested by 1

TestConnectionMethod · 0.64