MCPcopy Create free account
hub / github.com/KDE/labplot / stringProperty

Method stringProperty

src/3rdparty/QXlsx/source/xlsxformat.cpp:1404–1413  ·  view source on GitHub ↗

! * \internal */

Source from the content-addressed store, hash-verified

1402 * \internal
1403 */
1404QString Format::stringProperty(int propertyId, const QString &defaultValue) const
1405{
1406 if (!hasProperty(propertyId))
1407 return defaultValue;
1408
1409 const QVariant prop = d->properties[propertyId];
1410 if (prop.userType() != QMetaType::QString)
1411 return defaultValue;
1412 return prop.toString();
1413}
1414
1415/*!
1416 * \internal

Callers 3

fixNumFmtMethod · 0.80
writeFontMethod · 0.80

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected