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

Method documentProperty

src/3rdparty/QXlsx/source/xlsxdocument.cpp:1046–1054  ·  view source on GitHub ↗

! * Returns the value of the document's \a key property. */

Source from the content-addressed store, hash-verified

1044 * Returns the value of the document's \a key property.
1045 */
1046QString Document::documentProperty(const QString &key) const
1047{
1048 Q_D(const Document);
1049 auto it = d->documentProperties.constFind(key);
1050 if (it != d->documentProperties.constEnd())
1051 return it.value();
1052 else
1053 return QString();
1054}
1055
1056/*!
1057 Set the document properties such as Title, Author etc.

Callers 1

savePackageMethod · 0.80

Calls 2

QStringClass · 0.50
valueMethod · 0.45

Tested by

no test coverage detected