MCPcopy Create free account
hub / github.com/OpenBoard-org/OpenBoard / pullActionFromElement

Method pullActionFromElement

src/core/UBForeignObjectsHandler.cpp:402–419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400 //N/C - NNE - 20140520 : END
401
402 void pullActionFromElement(const QDomElement &element)
403 {
404 if (!element.hasAttribute(aActionMedia)) {
405 return;
406 }
407
408 QString path = element.attribute(aActionMedia);
409 if (path.isNull()) {
410 return;
411 }
412
413 QString uid = strIdFrom(path);
414 if (uid.isNull()) {
415 return;
416 }
417
418 mDomIdsMap.insert(uid, path);
419 }
420
421 void teacherGuideToContainer(const QDomElement &element)
422 {

Callers

nothing calls this directly

Calls 2

strIdFromFunction · 0.85
insertMethod · 0.45

Tested by

no test coverage detected