MCPcopy Create free account
hub / github.com/QNapi/qnapi / foreach

Function foreach

libqnapi/src/subconvert/subtitleformat.cpp:43–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 bool matched = false;
42
43 foreach (QString token, tokenTypes.keys()) {
44 if (tokenStream.startsWith(token, Qt::CaseInsensitive)) {
45 tok.type = tokenTypes[token];
46 tokenStream.remove(0, token.size());
47 matched = true;
48 break;
49 }
50 }
51
52 if (!matched) {
53 QRegExp colorR1("^\\{c:(.*)\\}");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected