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

Method formatKey

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

! * \internal */

Source from the content-addressed store, hash-verified

1166 * \internal
1167 */
1168QByteArray Format::formatKey() const
1169{
1170 if (isEmpty())
1171 return QByteArray();
1172
1173 if (d->dirty) {
1174 QByteArray key;
1175 QDataStream stream(&key, QIODevice::WriteOnly);
1176
1177 QMapIterator<int, QVariant> i(d->properties);
1178 while (i.hasNext()) {
1179 i.next();
1180 stream<<i.key()<<i.value();
1181 }
1182
1183 d->formatKey = key;
1184 d->dirty = false;
1185 }
1186
1187 return d->formatKey;
1188}
1189
1190/*!
1191 * \internal

Callers 4

operator ==Method · 0.95
operator !=Method · 0.95
addXfFormatMethod · 0.80
addDxfFormatMethod · 0.80

Calls 2

nextMethod · 0.80
valueMethod · 0.45

Tested by

no test coverage detected