MCPcopy Create free account
hub / github.com/aethersdr/AetherSDR / parseClientHandle

Function parseClientHandle

src/models/RadioModel.cpp:130–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130quint32 parseClientHandle(QString text)
131{
132 text = text.trimmed();
133 if (text.startsWith(QStringLiteral("0x"), Qt::CaseInsensitive))
134 text = text.mid(2);
135
136 bool ok = false;
137 const quint32 handle = text.toUInt(&ok, 16);
138 return ok ? handle : 0;
139}
140
141// parseStreamToken — identical to parseStatusHandle; use the shared version.
142inline quint32 parseStreamToken(QString text) { return parseStatusHandle(std::move(text)); }

Callers 3

applyKnownGuiClientsMethod · 0.70
traceDaxStreamStatusMethod · 0.70
onStatusReceivedMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected