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

Function thumbFileNameFrom

src/core/UBForeignObjectsHandler.cpp:145–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145static QString thumbFileNameFrom(const QString &filePath)
146{
147 if (filePath.isEmpty()) {
148 return QString();
149 }
150
151 static const QRegularExpression braces("[\\{\\}]");
152 QString thumbPath = filePath;
153 thumbPath.replace(braces, "").replace(wgtSuff, thumbSuff);
154
155 return thumbPath;
156}
157
158
159QString svgPageName(int pageIndex)

Callers 1

foreachMethod · 0.85

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected